Setting up approvals in MIM 2016. There is a well known bug in FIM 2010 that approval workflows will not run on SP 2013. The work around is to edit the XOML file for the workflow and change the dotnet version to 3.5.
- Open the workflow,
- go to advanced properties
- Go to the xoml section. you can copy it out to a text file or edit it in the window
- Search for xmlns:ns1=”clr-namespace:System.Workflow.Activities;Assembly=System.WorkflowServices, Version=18.104.22.168
- Change the 22.214.171.124 to 126.96.36.199
- Save the workflow
Well this issue has not been fixed in MIM 2016, the workflow engine is still compiled in Dotnet 3.5. I still have to do this workaround. It also means that you have to use XOML file to make changes to your approval workflows similar to the way you use xml files to update your RCDC. or you have to remember to go to the advanced properties of the workflow after a change to the properties to change the dotnet back to 3.5. I would recommend using the xoml files and use Powershell to script all updates. So many advantages of that.
A couple of things to note about setting up approvals using the OOTB approval template. You got to have email connection to the FIM Portal, so some SMTP gateway configured else your approvals will not complete.
I want to do an approval in an action workflow. Go to All resources, Activity Information Configuration, click on Approval and in extended attributes check Action. Do IISreset to see approval in the action workflow.