apps-infra

    Forum Stats

  • 3,874,062 Users
  • 2,266,667 Discussions
  • 7,911,709 Comments

Discussions

BPM /integration/services/TaskQueryService/TaskQueryService is not returning actiondisplayname

User_CWY8P
User_CWY8P Member Posts: 1 Red Ribbon
edited Oct 20, 2021 11:22AM in BPEL

Dear Team,

BPM /integration/services/TaskQueryService/TaskQueryService is not returning actiondisplayname in the response under systemAttributes field.

 <xsl:value-of select="ns4:systemAttributes/ns4:actionDisplayName"/>


Request Payload to the service below.

<tns:GetViewTasksRequest>

   <tns:message>

    <tns:data>

     <query:queryViewTasksRequest>

      <common:workflowContext>

       <common:credential>

        <common:login>bpmUser</common:login>

        <common:password>Dummy</common:password>

       </common:credential>

      </common:workflowContext>

      <ns6:viewTaskPredicateQuery startRow="1" endRow="1000">

       <ns6:optionalInfoList>

        <ns6:taskOptionalInfo>Actions</ns6:taskOptionalInfo>

        <ns6:taskOptionalInfo>GroupActions</ns6:taskOptionalInfo>

        <ns6:taskOptionalInfo>CustomActions</ns6:taskOptionalInfo>

        <ns6:taskOptionalInfo>Attachments</ns6:taskOptionalInfo>

        <ns6:taskOptionalInfo>Comments</ns6:taskOptionalInfo>

        <ns6:taskOptionalInfo>Payload</ns6:taskOptionalInfo>

        <ns6:taskOptionalInfo>ShortHistory</ns6:taskOptionalInfo>

        <ns6:taskOptionalInfo>TemplateTasks</ns6:taskOptionalInfo>

        <ns6:taskOptionalInfo>ACTION_DISPLAY_NAME</ns6:taskOptionalInfo>

        <ns6:taskOptionalInfo>TASK_VIEW_CONTEXT</ns6:taskOptionalInfo>

       </ns6:optionalInfoList>

       <ns6:viewId>

        <xsl:value-of select="$taskId"/>

       </ns6:viewId>

       <ns6:predicate>

        <ns6:assignmentFilter>My+Group+All</ns6:assignmentFilter>

        <ns6:predicate>

         <ns6:lhs>

          <ns6:clause joinOperator="AND">

           <ns6:column tableName="WFTASK">

            <ns6:columnName>ISGROUP</ns6:columnName>

           </ns6:column>

           <ns6:operator>EQ</ns6:operator>

           <ns6:value>F</ns6:value>

          </ns6:clause>

          <ns6:clause joinOperator="AND">

           <ns6:column tableName="WFTASK">

            <ns6:columnName>STATE</ns6:columnName>

           </ns6:column>

           <ns6:operator>EQ</ns6:operator>

           <ns6:value>ASSIGNED</ns6:value>

          </ns6:clause>

          <ns6:clause joinOperator="AND">

           <ns6:column tableName="WFTASK">

            <ns6:columnName>OUTCOME</ns6:columnName>

           </ns6:column>

            <ns6:operator>IS_NULL</ns6:operator>

          </ns6:clause>

         </ns6:lhs>

         <ns6:logicalOperator>OR</ns6:logicalOperator>

         <ns6:rhs>

          <ns6:clause joinOperator="AND">

           <ns6:column tableName="WFTASK">

            <ns6:columnName>ISGROUP</ns6:columnName>

           </ns6:column>

           <ns6:operator>EQ</ns6:operator>

           <ns6:value>T</ns6:value>

          </ns6:clause>

          <ns6:clause joinOperator="AND">

           <ns6:column tableName="WFTASK">

            <ns6:columnName>ASSIGNEES</ns6:columnName>

           </ns6:column>

           <ns6:operator>CONTAINS</ns6:operator>

           <ns6:identityTypeValue>

            <task:id>bpmdummytaskassignee</task:id>

            <task:type>user</task:type>

           </ns6:identityTypeValue>

          </ns6:clause>

          <ns6:clause joinOperator="AND">

           <ns6:column tableName="WFTASK">

            <ns6:columnName>SUBSTATE</ns6:columnName>

           </ns6:column>

           <ns6:operator>NEQ</ns6:operator>

           <ns6:value>ACQUIRED</ns6:value>

          </ns6:clause>

           <ns6:clause joinOperator="OR">

           <ns6:column tableName="WFTASK">

            <ns6:columnName>ACQUIREDBY</ns6:columnName>

           </ns6:column>

           <ns6:operator>EQ</ns6:operator>

           <ns6:value> <xsl:value-of select="$userId"/></ns6:value>

          </ns6:clause>

          <ns6:clause joinOperator="AND">

           <ns6:column tableName="WFTASK">

            <ns6:columnName>STATE</ns6:columnName>

           </ns6:column>

           <ns6:operator>EQ</ns6:operator>

           <ns6:value>ASSIGNED</ns6:value>

          </ns6:clause>

          <ns6:clause joinOperator="AND">

           <ns6:column tableName="WFTASK">

            <ns6:columnName>OUTCOME</ns6:columnName>

           </ns6:column>

            <ns6:operator>IS_NULL</ns6:operator>

          </ns6:clause>

         </ns6:rhs>

        </ns6:predicate>

       </ns6:predicate>

       <ns6:ordering>

        <ns6:clause>

         <ns6:column>CREATEDDATE</ns6:column>

         <ns6:sortOrder>DESCENDING</ns6:sortOrder>

        </ns6:clause>

       </ns6:ordering>

      </ns6:viewTaskPredicateQuery>

     </query:queryViewTasksRequest>

    </tns:data>

   </tns:message>

</tns:GetViewTasksRequest>


Please help me to get it done.

Thanks in advance.

          

Tagged:
apps-infra