| | | Supreme Being
       
Group: Forum Members Last Login: Monday, February 04, 2008 Posts: 21, Visits: 51 |
| | In custom ASPX, i have the execution id, how can i get the previous comments and all the decisions occurred before the currnet action? |
| | | | Supreme Being
       
Group: Forum Members Last Login: Wednesday, June 04, 2008 Posts: 131, Visits: 423 |
| Hi, Can you given us a scenario on what you want to achieve.
Regards, Prasanth
Moderator |
| | | | Supreme Being
       
Group: Forum Members Last Login: Monday, February 04, 2008 Posts: 21, Visits: 51 |
| | well, suppose I have the following workflow: start > approval1 > approval2 > approval3, in apporval3 i need to display all the comments and the decisions which took place in approval1 and approval2. |
| | | | Forum Newbie
       
Group: Forum Members Last Login: Thursday, April 10, 2008 Posts: 1, Visits: 11 |
| | Hi, To capture comments entered by an actor, add a variable with name prefixed by '^', the name of the activity and 'CommentApproved' or 'CommentRejected'. E.g. ^apporval1CommentApproved The variable will capture the details of comments of action performend.
Rajarshi Das |
| | | | Supreme Being
       
Group: Forum Members Last Login: 2 days ago @ 10:47 AM Posts: 144, Visits: 610 |
| Hi, Can you please send the screenshot workflow and mark with in which activity you want to access the comments? Please do attach the file. Don’t insert image directly to the post, as most of the times, it is not readable and There is no option to zoom the image.
Regards, Bineesh E Raghavan |
| | | | Forum Newbie
       
Group: Forum Members Last Login: Friday, May 23, 2008 Posts: 4, Visits: 47 |
| | Hi, You can capture the comments given by the Actor by creating a variable in your workflow of type string. Varaible should be created in following way: '^'+_WorkItem.HWSActivity.ActivityName+'CommentApproved'/'CommentRejected' For Example: Suppose your Approval activity name is "Approval1". Create a variable in the workflow with the name as ^Approval1CommentApproved - For capturing the comments if Action taken is "Approve" or else ^Approval1CommentRejected - For capturing the comments if Action taken is "Reject". You can use this variable in your custom aspx page to display the comments.
Regards, Abhijeet Dubey |
| | | | Supreme Being
       
Group: Forum Members Last Login: Monday, February 04, 2008 Posts: 21, Visits: 51 |
| | Thanks for all, May be I could not describe my problem, I have an APSX page and I need to write all previous comments for all completed actions. If I have 50 actions, should I create 50 variables? I would like to use tha API so I can iterate to all completed actions and ask for the comments. I hope |
| | | | Supreme Being
       
Group: Forum Members Last Login: 2 days ago @ 10:47 AM Posts: 144, Visits: 610 |
| Hi, If you have 50 activities, then you have to create 50 variables, either at run time (refer to Abhijeet's post  or at designtime (refer rajarshi.das's post). If you could send the screenshot of the workflow design, We can guide you better.
Regards, Bineesh E Raghavan |
| | | | Supreme Being
       
Group: Forum Members Last Login: Monday, February 04, 2008 Posts: 21, Visits: 51 |
| The screen shot attached, how can i iterate through all completed actions to get the comments form actions at runtime?
|
| | | | Supreme Being
       
Group: Forum Members Last Login: 2 days ago @ 10:47 AM Posts: 144, Visits: 610 |
| | |
|