Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 4767

Custom workflow in FIM 2010 R2 with IfElse branch activity how to get a value from function [//target/Locale]

$
0
0

Hi all,

I'm quite new in the WWF domain, but experienced with FIM 2010 R2.
I'm successfully using the workflows out of the box in FIM, even with the PowerShell activity.

I need to add an IfElse branch in the workflow described from this very nice example http://konab.com/automate-sspr-registration-fim-2010-r2/ , based on the Locale attribute of a user in FIM (by example values nl or fr). I've exported the XOML data out of the Workflow in FIM and I'm editing this with Visual Studio 2010 (to have a good starting point).

I've added a "get_Locale" function similar to the example of get_Email, but I don't have a clue how I can use the Declarative Rule Condition in the IfElse Branch to do a comparison the [//Target/Locale] with "nl" or "fr" string.

I've tried      [//Target.Local]=="nl"       but this is not accepted.

So how can I "read" the destination values of the GateActivity (Microsoft.Resourcemanagement.Workflow.Activities.functionactivity) and use them somewhere else in a workflow?
See screenshot:
screenshot visual studio workflow fim

Thanks for feedback and guidance in the WWF part of FIM :)
Kind regards,
David




Viewing all articles
Browse latest Browse all 4767

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>