The Assign value activity is used to automatically set the values of the context variables in a business process.
For example, in the loan request process, a loan agreement is made between a client and the lender. To transfer money, the accountant needs to know the amount of payment and the due date. This information is already specified in the agreement app. Using the Assign value activity you can pass the data from the agreement app to the process context, so it will be displayed on the task page of the accountant.
Place the activity in the process area where you want to assign values to the process fields. To open the activity settings, double-click on its shape in the diagram.
Name – enter the name that will be displayed in the process diagram.
Mapping Table Tab
Context field - select the process context variable that will be mapped with the app field. To do this, first, click on the Add button, and then on the Select field link. In the drop-down, select the required process variable.
Values– select the variable whose value will be assigned to the context variable. You can either specify variable value manually; select context variable of the corresponding type; or select one of the app fields. Make sure that the app is added to the process context.
Once you have mapped context variables and their values, click Save.