Saturday, December 12, 2009

Workflow cannot find rules from Custom Activity

Hello Friends,
I had this issue where i was creating cutom activities that was using a ruleset.Cutom Activity Library built fine.I added my custom library to my main workflow , dragging the custom activity onto my main workflow was all sweet and nice .but when i was about to give a demo all i did was change the name of the activity sequence within a custom activity, which i did not notice since the build went through fine. when i went for a demo the workflow fails stating that it couldn't find the ruleset only to make me realise that the sequence name and custom activity name should be exactly the same. so if you see something like "Cannot find ruleset" when referencing a custom activity you know why.
Apart from this more important moral is : "Never Change code even if it is the coolest change ever made, when you are in a demo or about to present a demo"
Learnt it the hard way but keep doing it time and again...hope i will change my ways......

I had to create this blog after listening to Thrive...