Step 2: Create a map for raising event

Use the following steps to create a process map that checks for the actual event triggered and if no event is triggered for a configured timeout, moves the process to the next node.

  1. Navigate to Workflow > Business processes and click New.
  2. Specify a Name as Raise Event For Duplicate Import.
  3. On the Category list, select Default Category.
  4. Select the Start node and on the satellite, click the Activity icon .

    An activity node is added.

  5. Specify a Name for the activity as Raise Event.
  6. On the Type list, select .Net.
  7. Click Configure.

    The Configure .Net activity screen is displayed.

  8. In Assembly file path, select TotalAgility.Sdk.
  9. In Class, select TotalAgility.Sdk.JobService.
  10. In Method, select UpdateJobVariables.
  11. In sessionId, click Server variables and select SPP_SYSTEM_SESSION_ID.
  12. In eventName, select CHECKEVENT.
  13. In sourceType, select Map.
  14. Click OK.
  15. Select the Raise Event node and on the satellite, select the End icon Satellite - End node icon.
  16. Save and release the map.

The final map may look similar to the following.


trigger event