In Workflow Studio, search for and open the DeleteMultiplePeopleWithOptions workflow.
From the Common toolbar, click Save As and then save a copy of the workflow in the folder of your choice, naming it DeletePeopleWithOptionsMFA.
Search for the RunMultiFactorAuthentication activity and then drag it onto the design surface of your workflow.
Rearrange the workflow so that RunMultiFactorAuthentication is the first activity.
From the Code Tree pane of the Workflow Solution, right-click References and select Add Reference > Add Assembly Reference.
Select MultiFactorAuthenticator and click Add selected items.
Back in the workflow designer, click the Properties tab for the workflow.
From the Workflow Properties tab, right-click the top-level workflow node and select Add New Property.
In the Add New Property dialog that opens, add the TargetUsePolicyMultifactor property of type Boolean (as mentioned in the above table).
Repeat steps 8 and 9 to add to the workflow the rest of the required properties (as mentioned in the above table).
Click the Bindings tab above the workflow. We will use this tab the bind the workflow properties you just created to their corresponding properties on the MFA activity.
From the Bindings tab, expand the Workflow properties tree on the left and the MFA activity properties tree on the right.
Drag the properties you just added to the workflow from the Workflow properties tree onto their corresponding MFA activity properties.
From the Workflow properties tree, click the Base Properties node to expand it and then click the Workflow node.
Locate the Initiator property.
Drag the Initiator property onto the TargetPerson property of the MFA activity. This specifies that MFA be run against the person initiating the workflow.
When you have completed binding the workflow and activity properties, the trees should look like the below image.
Return to the workflow designer and click the Compile button. Compiling allows you to check for any errors.
Click Close to close the Operations log.
If you have errors, fix them and then compile the workflow again.
When ready, click the Compile and Publish button to publish the workflow.
From the Publishing Wizard that appears, click Next to begin the process.
Click Yes when prompted about creating a request workflow.
Click OK to accept the default values presented by the Request Workflow dialog.
Take note of the URL as that where you can access the workflow.
When prompted to restart services, click No.
From the navbar of the Web interface, expand Object Administration and click Workflows.
This takes you to the Workflows page, where can search for and manage settings for all published workflows.
Search for the workflow and then click the Display Name link for it.
On the Workflow Details page that appears, click the Request Workflow Parameters accordion.
From the expanded accordion, click the Add New Parameter button.
Enter the name and value for the parameter and then click SAVE.
Add each required parameter, specifying their values. Be sure the names match the workflow property names exactly.
When finished adding parameters, recycle the EmpowerID app pools.