During the design process, each user is often assigned a role or user group in the moss for approval. There are multiple people.
How should I design my tasks in the task list? Because of the default task list, my task is assigned by the user.
Roles or user groups are assigned in the process. In this way, the default view cannot solve our problem.
Creating our new view is imperative ....
1. Create a New View in the 'task' list, for example, mytasks.
2. Find the 'task' list in SharePoint designer and open the mytasks. ASPX page.
Method: locate the middle section starting with "& lt; query & gt;" and ending with "& lt;/query & gt ;"Code, Use
Replace the following code. (Replace "<>" with "& lt; & gt ;")
In this way, the problem of user group allocation will be solved...
< Where >
< And >
< Or >
< Membership Type = "Currentusergroups" >
< Fieldref Name = "Assignedto" />
</ Membership >
< EQ >
< Fieldref Name = "Assignedto" />
< Value Type = "Integer" >
< Userid />
</ Value >
</ EQ >
</ Or >
< EQ >
< Fieldref Name = 'Completed' />
< Value Type = 'Text' > 0 </ Value > <! -- 100 = completed, 0 = not completed -->
</ EQ >
</ And >
</ Where >
The replaced code should be like this:
& Lt; where & gt; & lt; and & gt; & lt; or & gt; & lt; Membership type = "currentusergroups" & gt; & lt; fieldref name = "assignedto"/& gt; & lt;/Membership & gt; & lt; EQ & gt; & lt; fieldref name = "assignedto"/& gt; & lt; value type = "integer" & gt; & lt; USERID/& gt; & lt;/value & gt; & lt;/EQ & gt; & lt; /or & gt; & lt; EQ & gt; & lt; fieldref name = 'completed'/& gt; & lt; value type = 'text' & gt; 0 & lt;/value & gt; & lt;/EQ & gt; & lt;/and & gt; & lt;/where & gt;
Directly modify query... save...
My approval task is complete .....
Next ..
We need
The task I participated in.
This is also common on the BPM platform...
How? In fact, it is very simple... you just need to set completed in my task to 100 to complete...
I have done the same thing ....
Haha ,...