Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

You can create multiple context variables in a process flow using the 

...

Put-Context-Var action. Once they are created, you can use these context variables in the context of the process

...

flow activities as and when required

...

Steps to create a Context Variable

...

.

Note
As this service has now been deprecated in Adeptia Connect, it is recommended that you use the process, described in this page, to define the variables.

Follow the steps below to create a context variable:

  1. In the Web Process Designer, click 

...

  1. Repository View

...

  1. .
  2. Click Actions

...

  1.  tab, select the Put-Context-Var action

...

  1. and then drag it to the Canvas area.

...

  1. Click Put-Context-Var action and

...

  1. select the View Properties option from the context pad.
    The properties of

...

  1. the Put-Context-

...

  1. Var action are displayed in the Activity Properties Panel.

...

  1. Click the VARIABLES

...

  1. tab.
    This screen displays a list of existing context variables and the option to

...

  1. add the new context variables.

...


  1. Image Added

  2. To add a variable, select the name of the activity for which you want to create the context variable

...

  1. from the drop-down list of Activity Name.
    This drop-down lists all the activities that are currently present on the Canvas area. Once you select the activity, all the attributes of the selected activity

...

  1. are listed in the Variable Name drop-down list

...

  1. .

  2. Select the attribute for which you want to create the context variable

...

  1. from the drop-down

...

  1. list of Variable Name. For example, you can select the File Path field in case of a File Source or File Target activity

...

  1. .

  2. Enter the value that you want to set for the attribute/context variable

...

  1. in the Variable Value field.

  2. Click 

...

  1. Add.

    Info
    You can add multiple context variables (up to a maximum of 100) for the process flow.

...

 

Expand
titleSettings to View Logs for Standalone/REST(API) triggered Process Flow in Adeptia Connect Dashboard

To View the logs in Connect Dashboard of Process Flow either triggered by REST (API) or executed standalone:

  1. Ensure that 'View Logs on Connect Dashboard' property is enabled.
  2. Set the following required parameters to view its entry in the Connect Dashboard:

     

    Context Variable NameAvailable Key on Parent ContextPossible Value
    transactionTypetransactionType500 (App)
    501 (File)
    502 (EDI)
    504 (Custom)
    templateNametemplateName 
    templateIdtemplateId 
    spokeCompanyName / partnerNamespokeCompanyName / partnerName 
    spokeCompanyIdspokeCompanyId 
    PF_ReferenceIDPF_ReferenceID 
    transactionExecutionLoggerIdparentTxnExecutionLoggerId 
    hubCompanyNamehubCompanyName 
    hubCompanyIdhubCompanyId 
    directiondirection3200 (Inbound)
    3201 (Outbound)
    3202 (VAN)
    Info
    titleNote

    In case any of the above parameters is not defined in Process Flow Context, and only 'View Logs on Connect Dashboard' property is enabled, the entry in the Connect Database will be blank.

...

titleSettings to to run transaction using REST Webhook in a synchronous mode

To run the transaction using REST Webhook in a synchronous mode:

  1. First, set the following predefined context parameters into the process flow.

    Variable NameDescriptionDefault Value
    responseThe response text to be sent as successful response 
    faultThe response text to be sent as invalid response 
    statusCodeThe HTTP status code202 for successful response 500 for invalid response
    contentTypeThe content type of responseTEXT PLAIN

     

     

  2. Send the queryParameter async into the request. The possible values for this parameter is true or false.
    When parameter value is async=false then the REST listener call will be synchronous with process flow execution, else if the parameter is not specified or is async=true, the call will be asynchronous.

 

...

titleNote

...


  1. Note
    The list of added context variables is displayed on the bottom of the same window with columns specifying the activity name, variable name, and variable value. You can edit or remove an existing context variable by clicking Edit or Remove button respectively. 


  2. Click in the canvas area to continue with creating the process flow.