Escalate to Manager - As Defined in AD
I am getting this same error right now "ActivityInstanceDestination property not available on given context" but I am getting it on a line rule. I have an InfoPath client event with two actions (approve and deny). However I have added a third line that comes off the activity. There are two paths the process can take when approved based on a field value in the InfoPath form. I do want to have three actions appear to the user.
I have not figured out how to fix it yet. I could add a dummy activity to resolve the problem but that defeats the whole purpose.
Any ideas???
Thanks,
Jason
The default creation style for an activity in BP has changed from a 'plan per destination' to 'plan once'. I assume for this reason the ActivityInstanceDestination if not available. I've not confirmed this, but try the following to see if my suspicion is right. When on the destination rule, click back and then select 'Advanced wizard view'. On the Activity planning page, select 'Plan per destination - all at once'. This will force the workflow server to create an activity destination instance for each destination and put each activity instance in the context of the destination(s).
Note: You have to be aware of the result of planning per destination. For high performance systems where multiple users participate in an activity (i.e. call center style queuing), the performance impact of planning per destination should be considered.
Cheers,
Gabriel
Strange.
Not note that when you have multiple activity instances, they are still available at the time of line rule execution. Not that this info is helping you with your problem. ;-)
Good luck, let us know if you've tapped danced around it.
Hi Jason,
Did you manage to fix this problem when adding a third outcome manually?
Sorry, wish I could remember it, drawing a blank.... Jason
Hi Jason,
Just to let you know all you need to do to configure two actions with multiple outcomes is to change the Outcome detail from "All slots of Action Result = x" to "At least 1 of Action Result = x" and you should be good to go.
Hope that helps!
Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.