Getting Truth Table / Matrix Table details

Getting Truth Table / Matrix Table details

Comments

  • I've only been working with this tool a short while, but I'm already a fanboy :).\r\n\r\nAs to my question:\r\nIs there a way to pull information that is stored in a rule rather than running it?\r\n\r\nE.g. I have a rule table that returns true or false based on what string is passed into it. The matching strings are defined in the rule.\r\n\r\nCan you extract the list of strings that the rule specifies?\r\n\r\nE.g. from the rule table below I'd like to extract a string array {\"Assigned to\

  • Hello Michal,

    We can go about this in a few ways. One method would be to create a flow structure to store the input to the Truth table/matrix rule and its returned result. The created entity would only exist during the run of the flow, so we wouldnt have to worry about these entities needing to be stored our existing outside of runtime. For more information on flow structures, we can refer to the following document: https://documentation.decisions.com/docs/creating-simple-flow-structure

    Another method would be to enable rule audit history and rule audit phrase history on the truthtable/rule. This stores the input/output values of the rule in the database. Im still verifying whether there is a step to pull this data, but in the meantime, we could write a query integration to pull these values from the database. The values are stored in the table [b]rule_audit_phrase_history[/b]. The following query will return all values in the table that equal your input to the rule:

    [color=#0000ff]SELECT[/color] [color=#778899]*[/color] [color=#0000ff]FROM[/color] rule_audit_phrase_history

    where value_data=$RuleInputHere

    .Ive also included documentation below around rule audit history and creating query-based steps in Decisions.
    https://documentation.decisions.com/docs/use-rule-audit-history
    https://documentation.decisions.com/docs/parameterized-queries

  • Ive only been working with this tool a short while, but Im already a fanboy :).\r\n\r\nAs to my question:\r\nIs there a way to pull information that is stored in a rule rather than running it?\r\n\r\nE.g. I have a rule table that returns true or false based on what string is passed into it. The matching strings are defined in the rule.\r\n\r\nCan you extract the list of strings that the rule specifies?\r\n\r\nE.g. from the rule table below Id like to extract a string array {\"Assigned to\

Sign In or Register to comment.