- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
You can create a workflow from the template and run it by executing a SOAP call to xtk:workflow#SpawnWithParameters
provide template id and any parameters you need.
Next, you can monitor workflow status by periodically querying the workflow record via xtk:queryDef#ExecuteQuery method and check for workflow @status attribute. If the workflow is in suspended (3) status, that means it has failed. If status stopped (5), it has finished successfully.
To delete the workflow, use xtk:session#Write method with @_operation attribute set to "delete"