StartWorkflow Workflow Activity
The StartWorkflow activity provides the link from the Infinity application to the triggered workflow instance. If the workflow requires input or state to be established prior to starting, then this activity allows you to capture the data input from the workflow trigger. For example, from within the Workflow Spec, you can reference the ID of an Add Form that is used to map data from the triggering data form into the start of the workflow. When a triggering event occurs, data from the data form is passed to the data form referenced within the WorkflowSpec, which in turn is passed into the StartWorkflow activity within the xamlx.
The StartWorkflow activity is part of the Blackbaud Infinity Workflow Activity library. The activities in this library take care of all of the heavy lifting and plumbing required to integrate with the Infinity application and database. We will use several of the Infinity-specific activities in this workflow, so before we go any further, let's get our toolbox set up with these activities.