Process view my tasks or tasks I have participated in

Source: Internet
Author: User

 

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 ,...

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.