Programming Guides › Programming Guide for C › DMS Workflow API › Write and Define a DMS Workflow › SmDmsWorkflowInit()
SmDmsWorkflowInit()
SiteMinder calls this function so that a workflow library can perform its own initialization procedure. This call is made once, when the library is loaded for the first time.
Syntax
Sm_DmsWorkflowApi_Status_t SM_EXTERN SmDmsWorkflowInit();
Returns
- Sm_DmsWorkflowApi_Success. Function was successful.
- Sm_DmsWorkflowApi_Failure. Function was not successful, and the workflow will not be loaded. If the workflow is not loaded successfully, DMS events that depend on the registration scheme that specified the workflow will fail until:
- The workflow library can load successfully
- The workflow library is removed from the registration scheme