Okay, probably not, but its still pretty cool. I recently built a Workflow in FIM that will allow a user to define the code they want executed at run time. The Workflow will compile the code and run it in a separate app domain when its initiated (http://www.west-wind.com/presentations/dynamicCode/DynamicCode.htm). The UI will allow you to specify the input parameters and where the result of the code execution will go. Here is a simple example, I am passing in the first and last name from the target of the request, I am also passing the the mail host that I have calculated in a previous step and saved to WorkflowData. I am then using the code to calculate the user’s email address and save it to the email parameter on the target:
You can add and remove input parameters as needed during design time and then refer to them in the code using their specified index. I expect in future releases to be allow the user to specify additional namespaces and code references to import. It currently won’t do any syntax checking or formatting at design time, but otherwise its extremely versatile and flexible!