Any signature means that the task operator user can request approval comments from other users. If user a can submit the task to B, C requires signature, B, c, input comments, and re-allocate the task to a, a can see the comments of B and C.
Quickflow provides the moreapprove activity for signing.
Let's look at an example.
1) Design a workflow.
Use QFD to create a workflow and add a workflow variable: approver, which is used to pass the approval user account.
2) drag a moreapprove activity to the designer, draw a line to connect start and moreapprove, and bind the user attribute to the workflow variable aprover.
3) publish a Workflow
4) Design workflow forms
Add a text box for entering the user account in the launch form:
Add the followingCode:
Protected void page_load (Object sender, eventargs e) {This. startworkflowbutton1.executing + = new eventhandler <system. componentmodel. canceleventargs> (startworkflowbutton?executing);} void startworkflowbutton=executing (Object sender, system. componentmodel. canceleventargs e) {quickflow. core. workflowcontext. current. updateworkflowvariable ("approver", this.txt approvor. text. trim ());}
5) after updating the form, we can see the effect.
Start the workflow and enter the approver.
Approval page.
Select the signature user.
Task tracking:
Download sample code:
Bytes