triggerworkflow
Note: This object is only available with the Adapter for Dynamics 365 and CRM.
You can create workflow processes within Dynamics 365. Using the triggerworkflow adapter object you can execute both on-demand and child workflow processes from a DTS file.
To use this adapter object, add a triggerworkflow Execute step to your DTS file. The triggerworkflow entity, which is only available as an Execute step, has the following required fields:
- workflowid — TIBCO
recommends using the DBLOOKUP2 function, because it accepts two source values
and the Name and Type are important values for identifying
the Workflow to be triggered. The value for Type
should always equal "1', for example,
DBLOOKUP2("MyWorkflowName",1,"Connection Name","Workflow","name","type", "WorkflowId")
- entity — Provide the primary ID of the Dynamics 365 record that you want the workflow to act on. For example, you might derive the entityid by taking the primary ID from your source and using the keycrossreference table to return the entityid of the Dynamics 365 record.
See also