sherenegladysj - Thursday, June 4, 2009 8:02 AM:
Hello,
I have created a workflow with two activities say stage1 & stage2. I want to perform the following activities at Activity Completion Worksheet (ACW).
1. User1 attaches a document (say review record) at stage1 ACW. I want to view the same document (review record) at stage2 ACW for User2.
2. User1 enters few text fields and Votes for next activity. I want to retrieve all the field values at stage2 ACW as disabled field. I want to know how to update and retrieve values from the database.
I have tried a lot but nothing turned up. Can anyone pls. help me on this???
Thanks in advance.
Regards,
Sherene
ashu_vik - Thursday, September 10, 2009 12:59 AM:
Hi Sherene,
I am facing the same issue as yours. I want to retrieve the value of the variable set by the user during the ACW and on the basis of the value of the variable decide further flow of the workflow.
Were you able to get this? Any pointer will help.
Thanks Ashu
sherenegladysj - Thursday, September 10, 2009 2:48 AM:
Hello Ashu,
Yeah I was able to pass the variable values from one ACtivity to next Activity across the workflow. Two methods are there
Methiod 1:
Add Activity Variable & Process Variable in Workflow Map. Activity Variables can be accessed in Workflow Completion Worksheet. At Activity Stage1, On Submit Save the Activity Varaibles Value to Process Variable using method. At Activity Stage2, update the Activity Variable Value from the Process Variable using method.
Method2:
Modify "InBasket-VoteDialog.html" file to access the Process Varaible instead of Activity Variable. Because Process Variable can be accessed through out the workflow whereas Activity Variables are limited to a single activity.
~Sherene
ashu_vik - Tuesday, September 22, 2009 7:49 AM:
Hey Sherene,
Thanks for your response.
I tried to create the methods as per Method1 but failed miserably. Can you please give me sample code for the method to save the Activity Varaible Value to Process Variable?
For method 2, What changes are to be made in the "InBasket-VoteDialog.html" file?
-Ashu
sherenegladysj - Monday, October 19, 2009 5:49 AM:
Hi Ashu,
Here is the code for passing activity variables to process variables;
Nikul Patel - Friday, December 3, 2010 3:22 AM:
Hi,
I want know " how we can add a file in workflow process as variable or any other way?". Please help me..
Thanks,
Nikul Patel