Context Variables

IDataProvider (init,cleanup) and IDataProcessor (start,process,end) are provided with following runtime context variables:

  • CONTEXT_EXEC_MODE: Execution Mode Sync or async.
  • CONTEXT_BATCH_SIZE: Batch size for async messages.
  • CONTEXT_EVENTID: Event ID.
  • CONTEXT_PROCESSID: Process ID.
  • CONTEXT_BATCH_NUMBER: Batch number of the async message.
  • CONTEXT_UNIQUEID: Unique ID identifies the async message.
  • CONTEXT_MEMBERID: Member ID of the member who has initiated the process.
  • CONTEXT_ERRORMSG: Any execution errors in current context.
  • CONTEXT_ISWORKFLOWPROCESS: Yes, if the process is triggered from workflow.
  • CONTEXT_ACTIVITYNAME: Activity name, if triggered from workflow.