Documentation Index

Fetch the complete documentation index at: https://help.docfusioncloud.com/llms.txt

Use this file to discover all available pages before exploring further.

Configuring Custom input arguments

Prev Next

Overview

This feature enables the dynamic mapping of incoming request parameters to custom input arguments within a workflow. It allows users or callers to pass runtime parameter values as part of a request, which can then be directly mapped to the corresponding custom input arguments of a defined workflow.

Steps

Step 1: Open Workflow

Step 2: Adding custom input argument

Open the arguments designer by clicking the Arguments button in the lower-left corner of the design canvas. The arguments designer appears

Add the name of the parameter that will be used in the request, configure the rest of the workflow as needed, save, close, and check in the workflow once all changes are complete.

Step 3: Mapping custom input argument

Map the custom input argument to the sequence in your workflow.

Step 4: Configuring the request

{
   "Source":"Default Test",
   "JobReference":"Example Job",
   "Process":{
      "ProcessType": 1,
      "BusinessUnitGuid":"", //Add template GUID
      "TemplateGuid":"",//Add template GUID
      "TemplateVersion":"",
      "ChainGuid":"", //Add chain GUID
      "ChainVersion":"",
      "WorkflowProcessGuid":"", //Add the GUID of the workflow where the custom input argument is configured.
      "WorkflowProcessVersion":"",
      "ProcessAsync":false,
      "ReturnData":"None"
   },
   "Timeout":"00:01:00",
   "Data":{
      "DataType":"XML",
      "Data":"", //Add template data in base64
      "DataProcessor":"",
      "ProcessorProfile":""
   },
   "Parameters":{
    "MyArgument": " Custom Input Argument value " //Add the name of the custom input argument configured in the workflow 
   }
}