Putting this here to give me a chance of remembering next time I do this – because I will. I was trying to recompile my custom workflow library and I got the error “Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.” Eventually I remembered that I’d…
Category: VB.NET
Getting something back from the EnumerateResourcesActivity
I have just spent a very frustrating day trying to figure out how to get access to the resource found by the EnumerateResourcesActivity, not helped even slightly by the usual machine-generated “documentation“. I’m still not very happy with it, and can’t for the life of me understand why it can’t give me a straight object collection…
R2 Authorization after Action
R2 introduced a new property to the UpdateResourceActivity, CreateResourceActivity and DeleteResourceActivity classes called “ApplyAuthorizationPolicyProperty”. Setting this to “true” in your custom activity allows an Authorization activity to be triggered by an Action workflow. I have finally had an opportunity to try this out.
Generating Reference attributes from String data
Once upon a time we used to be able to write Advanced Flow Rules for reference attributes. Admittedly this sometimes led to horribly inefficient code, but it was useful – particluarly when paired with FindMVEntries to lookup and then reference an existing Metaverse object. With FIM we lost this capability, and Microsoft claim we were…
How to use the EmailNotificationActivity in a custom workflow
I just put together a workflow prototype for a project: when the membership of certain Criteria-based groups changes the groups’ Owners should be notified. This gave me an opportunity to use the EmailNotificationActivity inside a custom Workflow for the first time. As usual I found the official documentation to be somewhat … thin.
BPOS Powershell Activity
Here’s something I’ve been promising to post for a while – my BPOS Powershell Activity.
Updating WorkflowData from a custom workflow
Continuing in my recent theme of communicating information back from a custom workflow (see also Updating RequestStatusDetail and Passing Data via the Request Object), this post shows how you can write information into WorkflowData parameters to then use later in the workflow, perhaps putting it somewhere with the Function Evaluator, or using it in an Email…
Updating RequestStatusDetail
Not long ago I wrote a post about writing status messages back to the Request object from a custom workflow. I used custom attributes because I was following the only documentation I could find. But Henrik said “why don’t you use RequestStatusDetail?” – and actually the reasons were a. I hadn’t thought of it, and…
Passing data from a custom Workflow via the Request object
I have been writing an activity that resets forgotten BPOS passwords (more on that later) and I wanted to include a Notification activity that would inform the user about the password reset request. To make the notification useful I want to include whether the reset succeeded, and if it failed, what the reason was. To…
Adding a Radio Control to a FIM Custom Workflow UI
Following on from the last post about adding a CheckBox, here’s how I added a RadioButtonList to a custom workflow UI. Note: I have also uploaded a version of this to the Technet Wiki: How to Add a RadioButtonList to a FIM Custom Workflow UI