Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

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 Repository View.
  2. Click Actions tab, select the Put-Context-Var action and then drag it to the Canvas area.
  3. Click Put-Context-Var action and select the View Properties option from the context pad.
    The properties of the Put-Context-Var action are displayed in the Activity Properties Panel.

  4. Click the VARIABLES tab.
    This screen displays a list of existing context variables and the option to add the new context variables.



  5. To add a variable, select the name of the activity for which you want to create the context variable from in the drop-down list of  Activity Name field.
    This drop-down field lists all the activities that are currently present on the Canvas area. Once you select the activity, all the attributes of the selected activity are listed in the the Variable Name drop-down list field.

  6. Select the attribute for which you want to create the context variable from in the drop-down list of  Variable Name field. For example, you can select the File Path field in case of a File Source or File Target activity.

  7. Enter the value that you want to set for the attribute/context variable in the Variable Value field.

  8. Click Add.

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


    Note
    The list of added context variables is displayed on the bottom of the same window screen 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. 


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