-
Notifications
You must be signed in to change notification settings - Fork 5
Merge Fields
Andre edited this page Oct 18, 2022
·
6 revisions
Everything in the workflow can be set to use merge fields. This makes it easy to change a property that is set to the same value in many steps. During the running of a workflow the merge field placeholders will be replaced by the values from the MergeFields object. Note that the placeholder uses { } to specify that it is a merge field placeholder. Workflow JSON extract with two merge fields set:
{
"WorkflowName": "Unit_test_workflow",
"WorkflowVersion": "1.0",
"MergeFields": {
"reqbin_post_url": "https://reqbin.com/echo/post/json",
"reqbin_callout_seconds" : "30"
},
"Steps": [
{
"StepNumber": 1,
"StepId": "reqbin step 1",
"SubSteps": [
2,
3
],
"WaitForAllParents": true,
"CalloutUrl": "{reqbin_post_url}",
"CalloutTimeoutSeconds": "{reqbin_callout_seconds}",
..etc..
}
]
}