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 select New.
  2. Specify a Name as Raise Event For Timeout.
  3. On the Category list, select Default Category.
  4. Select the Start node and on the satellite, select 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. Select 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 RaiseEvent.
  11. In sessionId, select Server variables and then select SPP_SYSTEM_SESSION_ID.
  12. In eventName, enter CHECKEVENT.
  13. In sourceType, enter Map.
  14. Select 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