View Submiteed Tasks TEWS Search
search cancel

View Submiteed Tasks TEWS Search

book

Article ID: 229953

calendar_today

Updated On:

Products

CA Identity Manager

Issue/Introduction

In this article, you have the TEWS call for View Submitted Tasks using a filter by User

Environment

Identity Manager 14.x

Resolution

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://tews6/wsdl">
   <soapenv:Header/>
   <soapenv:Body>
      <wsdl:TaskContext>
         <!--You may enter the following 11 items in any order-->
         <!--Optional:-->
         <wsdl:admin_id>imadmin</wsdl:admin_id>
         <!--Optional:-->
         <wsdl:admin_password>PASSWORD</wsdl:admin_password>
         <!--Optional:-->
         <wsdl:transaction_id>new</wsdl:transaction_id>

      </wsdl:TaskContext>
      <wsdl:ViewSubmittedTasksQuery>
         <!--Optional:-->
         <wsdl:ViewSubmittedTasksSubmittedTasksTab>
            <!--Optional:-->
            <wsdl:SearchCriteria>
               <!--Optional: -->
               <wsdl:InitiatedBy>?</wsdl:InitiatedBy>

               <!--Optional:-->
               <wsdl:PerformedOnObjectType>USER</wsdl:PerformedOnObjectType>
               <!--Optional:-->
               <wsdl:PerformedOnObjectFriendlyName>USER-ID</wsdl:PerformedOnObjectFriendlyName> -->


               <!--Optional:-->
               <wsdl:SubmittedAfter>11/02/2021 01:00</wsdl:SubmittedAfter>
               <wsdl:SubmittedBefore>12/05/2021 01:00</wsdl:SubmittedBefore>
      
               <!--Optional:-->
               <wsdl:ShowUnsubmittedTasks>false</wsdl:ShowUnsubmittedTasks>

               <wsdl:ShowArchiveDB>false</wsdl:ShowArchiveDB>
               <!--Optional:-->
               <wsdl:MaxmiumReturnRows>?</wsdl:MaxmiumReturnRows>
            </wsdl:SearchCriteria>
            <!--Optional:-->
 
         </wsdl:ViewSubmittedTasksSubmittedTasksTab>
      </wsdl:ViewSubmittedTasksQuery>
   </soapenv:Body>
</soapenv:Envelope>

 

Note:

The SubmittedAfter and SubmittedBefore has the format date MM/dd/YYYY HH:mm

The PerformedOnObjectType must have the value USER in Uppercase.