Hello All,
SCSM has two out of box views for Change Management that I would like to utilize. The views are "Change Requests: In Review"and "Change Requests: Manual Activity In Progress"
Ideally I would like to make new views that utilize that same functionality but show what's assigned to me(me being the viewer/user).
For "Change Request: In Review" I would like for a view that showed the user Change Requests with a Review Activity In Progress waiting to be approved/completed.
For "Change Requests: Manual Activity In Progress" I would like a view that showed the user Change Requests with a Manual Activity In Progress waiting to be completed.
I am using the Cireson View Builder and know that I will need to use XML editor in order to complete this.
So far the code I have is:
<QueryCriteria Adapter="omsdk://Adapters/Criteria" xmlns="http://tempuri.org/Criteria.xsd"> <Criteria> <FreeformCriteria> <Freeform> <Criteria xmlns="http://Microsoft.EnterpriseManagement.Core.Criteria/"> <Expression> <In> <GenericProperty Path="$Context/Path[Relationship='WorkItem!System.WorkItemAssignedToUser' SeedRole='Source']$">Id</GenericProperty> <Values> <Token>[me]</Token> <Token>[mygroups]</Token> </Values> </In> </Expression> </Criteria> <Criteria xmlns="http://Microsoft.EnterpriseManagement.Core.Criteria/"> <Expression> <And> <Expression> <SimpleExpression> <ValueExpressionLeft> <Property>$Context/Path[Relationship='CoreActivity!System.WorkItemContainsActivity' TypeConstraint='CoreActivity!System.WorkItem.Activity.ReviewActivity']/Property[Type='CoreActivity!System.WorkItem.Activity']/Status$</Property> </ValueExpressionLeft> <Operator>Equal</Operator> <ValueExpressionRight> <Value>{11fc3cef-15e5-bca4-dee0-9c1155ec8d83}</Value> </ValueExpressionRight> </SimpleExpression> </Expression> <Expression> <SimpleExpression> <ValueExpressionLeft> <Property>$Context/Property[Type='CoreChange!System.WorkItem.ChangeRequest']/Status$</Property> </ValueExpressionLeft> <Operator>Equal</Operator> <ValueExpressionRight> <Value>{6d6c64dd-07ac-aaf5-f812-6a7cceb5154d}</Value> </ValueExpressionRight> </SimpleExpression> </Expression> </And> </Expression> </Criteria> </Freeform> </FreeformCriteria> </Criteria> </QueryCriteria>
I can not get the View to show what I am looking for. Does anyone have any idea on how to do this?