cancel
Showing results for 
Search instead for 
Did you mean: 

workflow properties scoping

mohammed_amr
Champ in-the-making
Champ in-the-making
Dear Gurus,

I have the following case,

I have a workflow and this workflow have a comment property and i have set of users A,B and C. now when the workflow has been submitted the workflow will be shown in the task list of a user A and user A will manage it and write some of notes inside comment property and then submit.

After that the workflow will transfer to the task list of user B and user B will see the comment of user A and he will write some of notes inside comment property and then submit. user C will manage the workflow to see comment of user A and comment of user B and he can write his own comment.

Really, how can i do that ?

from my angle, i will do the following, per tasks there is an Java action which will extract the comment property and persist it on the database with the workflow instance ID and then display all of them.

Is this technique is write and if if not can you please guide me to the right way.

Thanks
Mohammed Amr
Senior System developer
Digital Series.
2 REPLIES 2

amitabhandari1
Champ in-the-making
Champ in-the-making
Hi Mohammad,
You don't have to use any database for this.  Comment should be available for  each task . Try to show the comment with each task by making change in web-client-config-custom.xml . If you want  to do with some other properties create an aspect with that property , attach aspect to all types defined for a task . The value of property will be persist  for all tasks.

Thanks,

mohammed_amr
Champ in-the-making
Champ in-the-making
Thanks AmitaBhandari  for you reply Smiley Happy and sure you are right.