Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

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…

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…

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…