MIM 2016 – Approval workflow and event id 3

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.

  1. Open the workflow,
  2. go to advanced properties
  3. Go to the xoml section. you can copy it out to a text file or edit it in the window
  4. Search for xmlns:ns1=”clr-namespace:System.Workflow.Activities;Assembly=System.WorkflowServices, Version=4.0.0.0
  5. Change the 4.0.0.0 to 3.5.0.0
  6. 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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s