Table of contents


Official Content

The Subject is a very important property of Process Instances.

The importance of this property lies in the fact that it is used in the different GXflow Client application components as an association mechanism. The subject allows giving a descriptive name to the Process Instance, making its follow-up easier for Workflow users. 

Sample

Suppose that in the ‘request’ Transaction associated with the ‘manufacturing’ task you want to update the Process Instance subject with the request description. This can be done by inserting the following line in the transaction rules:

&wfprocessinstance.Subject = RequestDescription on AfterValidate;

Where the variable data is:

&wfprocessInstance 	– WorkflowProcessInstance

An example can be downloaded from here.

Steps

1. Import the xpz file.

2. Run the business process diagram.

3. Once the Request Transaction is completed, the process instance subject changes as shown in the image below (suppose the description is "Request N°1").

HowToGXflow_png

 

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant