How To Submit TEWS Request Scheduled To Run Later
All Identity Manager
First add the Scheduled Tab to the IM task and then populate the information for that scheduled tab in the TEWS Soap Request.
The below example shows the TEWS Soap Request for a Modify User task with the Scheduled tab added to the task that will submit a modification of middle name for testuser scheudled to be run on January 1, 2024 at 12:00:00 time
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://tews6/wsdl">
<soapenv:Header/>
<soapenv:Body>
<wsdl:TaskContext>
<wsdl:admin_id>IM_USER</wsdl:admin_id>
<wsdl:admin_password>IM_USER_PWD</wsdl:admin_password>
</wsdl:TaskContext>
<wsdl:ModifyUser>
<wsdl:ModifyUserSearch>
<wsdl:Filter index="0">
<wsdl:Field>%USER_ID%</wsdl:Field>
<wsdl:Op>EQUALS</wsdl:Op>
<wsdl:Value>testuser</wsdl:Value>
</wsdl:Filter>
</wsdl:ModifyUserSearch>
<wsdl:ModifyUserProfileTab xmlns:ns2="http://tews6/xsd/ModifyUserProfileTab">
<wsdl:_PCT_MIDDLE_NAME_PCT_>new_value</wsdl:_PCT_MIDDLE_NAME_PCT_>
</wsdl:ModifyUserProfileTab>
<wsdl:ModifyUserScheduleTab>
<wsdl:ScheduleTask>yes</wsdl:ScheduleTask>
<wsdl:TimezoneDiffHours>24</wsdl:TimezoneDiffHours>
<wsdl:InnitialTaskPrefix_Month>1</wsdl:InnitialTaskPrefix_Month>
<wsdl:InnitialTaskPrefix_DateOfMonth>1</wsdl:InnitialTaskPrefix_DateOfMonth>
<wsdl:InnitialTaskPrefix_Year>2024</wsdl:InnitialTaskPrefix_Year>
<wsdl:InnitialTaskPrefix_Hour>12</wsdl:InnitialTaskPrefix_Hour>
<wsdl:InnitialTaskPrefix_Minute>00</wsdl:InnitialTaskPrefix_Minute>
<wsdl:InnitialTaskPrefix_Second>00</wsdl:InnitialTaskPrefix_Second>
</wsdl:ModifyUserScheduleTab>
</wsdl:ModifyUser>
</soapenv:Body>
</soapenv:Envelope>