FIM Custom Workflow - Issues with calling scripts
Scenario/Requirement: User provisioning process. Once a user is created in peoplesoft a workflow will be triggered in FIM which will send an email to the supervisor for approval. The supervisor will approve the request and provide some inputs like userid to model after, request to create email id. Those inputs need to be captured and passed to an existing VB script which will do its job of creating email address etc. Current Accomplishment: We have created a custom workflow We are able to pass static values from custom workflow to execute a vbscript. These static values are entered manually in the textboxes that we have created in the custom workflow page. Textbox1 captures the path of vbscript and Textbox2 the value that needs to be passed to vbscript. This is working fine. Challenges/Questions: Can we provide a link in the email to Supervisor to access the custom workflow. If so how can we accomplish that. Currently the custom workflow, FIM is allowing access only to the administrator, can we provide that access to all users and make the user access it. We tried to extend user form from RCDC for new attributes and we have changed the default Approval activity to allow it to be used in Action workflow by checking “isAction” in Activity configuration information. But we are not able to append the ResourceID(GUID) of the user in the FIM portal link in the email that the manager gets. However we were able to pass the Display Name but not GUID. Another challenge we see here is when we access the FIM portal link which is embedded with GUID(manipulated manually),we are asked the credentials for logging. If we provide the Manager’s credentials we are getting an error. How do we display the user portal page to the supervisor when he clicks the link. We are stuck at that point. Later we have to see how to pass these parameters to the custome activity and call the VB Scripts. Or is there a way we can create a customized FIM portal page where the manager of a user will enter the details and submit the request. Once the manager submits this form the above custom workflow should be triggered to run the VB Script/Powershell script. If this is the approach, how to pass the attribute value of an user to the vbscript. Or do you have any recommendation on achieving the above requirement. Any help is highly appreciated, we are spending good amount of time researching these options, any direction will help us a lot.
October 16th, 2010 12:07am

First of all; if you're already writing Custom Workflows, then why not just write .NET code to generate mail adresses? You could create / change the portal to display a special list with users that need additional information and just mail him/her a link to this page; this could be done using standard UI manipulation. Just a few pointers. Hope this helps...Regards, Soren Granfeldt http://granfeldt.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2010 4:58pm

Has this been resolved?Regards, Soren Granfeldt http://granfeldt.blogspot.com
February 8th, 2011 5:01pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics