Follow

PowerView: Modify "My Active Work Items" view to show Incidents with Pending status

To also include incidents with status Pending in the default My Active Work Items view, please follow the instructions below.

  1. Export the management pack Gridpro Service Manager PowerView Configuration to a temporary folder
  2. Edit the file Gridpro.ServiceManager.PowerViews.Configuration.xml that was extracted in the temporary folder
  3. Find below section in the file:
    <Expression>
    <SimpleExpression>
    <ValueExpressionLeft>
    <Property>$Context/Property[Type='SWIL!System.WorkItem.Incident']/Status$</Property>
    </ValueExpressionLeft>
    <Operator>Equal</Operator>
    <ValueExpressionRight>
    <Value>$MPElement[Name="SWIL!IncidentStatusEnum.Active"]$</Value>
    </ValueExpressionRight>
    </SimpleExpression>
    </Expression>

    And replace it with this text snippet:

    <Expression>
    <Or>
    <Expression>
    <SimpleExpression>
    <ValueExpressionLeft>
    <Property>$Context/Property[Type='SWIL!System.WorkItem.Incident']/Status$</Property>
    </ValueExpressionLeft>
    <Operator>Equal</Operator>
    <ValueExpressionRight>
    <Value>$MPElement[Name="SWIL!IncidentStatusEnum.Active"]$</Value>
    </ValueExpressionRight>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpressionLeft>
    <Property>$Context/Property[Type='SWIL!System.WorkItem.Incident']/Status$</Property>
    </ValueExpressionLeft>
    <Operator>Equal</Operator>
    <ValueExpressionRight>
    <Value>$MPElement[Name="SWIL!IncidentStatusEnum.Active.Pending"]$</Value>
    </ValueExpressionRight>
    </SimpleExpression>
    </Expression>
    </Or>
    </Expression>
  4. Save file
  5. Import the modified Gridpro.ServiceManager.PowerViews.Configuration.xml file
  6. Restart Service Manager console
  7. Done
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments