To use a Pass state in Builder View:
In Builder View, drag and drop the Pass state from the left pane into your circuit or click the required Pass state in your circuit.
Under the Configuration tab, update the common state field attributes.
Select the Input/Output tab located on the right side of the builder view page, and establish the paths. For further details, refer to the Input/Output Processing section.
For inserting a new parameter to the input passed, enter the key (in format '$.fieldname') in ResultPath and the value within Result.
In Code View, you can directly add the parameters resultPath and result within the state.
The JSON input to the state is:
{"org_name": "Global Solutions","employee_details": {"name": "Henry","date of birth": "15-03-1990","role": "Business Analyst"}}
{"Get Employee Details": {"start": true,"type": "pass","next": "End","input_path": "$.employee_details","output_path": "$.employee_details","result_path": "$.location","result": "New York"}}
{"org_name": "Global Solutions","employee_details": {"name": "Henry","date of birth": "15-03-1990","role": "Business Analyst","location": "New York"}}
You are currently viewing the help articles of Qntrl 3.0. If you are still using our older version and require guidance with it, Click here.