populate datafield or SO in destination rule code

  •  07-08-2008, 6:35 AM

    populate datafield or SO in destination rule code

    Hello, 

    I'm coding my own worklist. For each worklist item I want to know the destinations of the activity (as determined by the destination rule). I can't find a property in the K2 API, so now I'm trying to populate a datafield with the destinations in the destination rule code. Can I use an activity datafield? If not, I have to use a process datafield. However, if the workflow contains some activities parallel to each other, a process datafield doesn't seem to be a good option, because the destination rules of these activities will overwrite the datafield. Another option is to write to a SmartObject from within the destination rule. Has anyone comments on that?

     

View Complete Thread