We are facing some issue for adding Custom Activity in FIM Workflow. It will be great help for us if you provide some suggestion/hints to resolve this issue.
Issue description:
• Case with Activity which was already present: When we tried adding activity in workflow, it is displayed in the activity selector. But as long as we save the workflow, and again open it, activity no longer exists.
• Newly created Activity: Activity is not available even in activity selector in workflow
Troubleshooting steps followed:
1. To start with we did make sure that the custom activity dll is present in GAC in both the servers(portal and service servers) and did an IISRESET on the server where portal is hosted and restarted the FIM service
on the server where it is hosted. This didn’t help.
2. Re-created the “Activity Information Configuration” resource which we thought is corrupted. Then followed the step 1. Next we tried creating a workflow which would use newly created “Activity Information Configuration”.
But this time we could not see the newly created activity.
3. After trying all above minor troubleshooting steps, we started the deployment activity from start and followed following steps:1. Uninstalled the custom activity dlls from GAC from both the
servers.
2. Opened the solution code in Visual Studio and Built the solution. This created a new dll for custom activity.
3. Installed this dll on both service and portal servers. And did IISRESET and restarted the FIM service.
4. Created new “Activity Information Configuration” and repeated above step(step 3)
5. Now activity is not available even in activity selector