I am looking for instructions on how to expose the workflow approval process.
I would like to create a custom Screen which is on ASP. and once approver clicks on Approve/Reject, corresponding action to trigger in IAM via TEWS.
Any one can help me how to expose a workflow process via TEWS ?
An alternative to Alan's suggestion is to use out-of-the-box Approval Task screen, with the Approve/Reject buttons, and add the API call to the Workflow Process definition in Designer. This will instantiate a task or event upon approval or rejection and will not require you to create a new custom screen. You will use supported methods from our Java API guide associated with your version of IM.
Most task APIs are exposed via TEWS. We will research this further and get back to you shortly with some high level guidance.
Suggest looking at using least development efforts.
Every task in IM may be exposed as a web service with a checkbox.
- If an IM workflow is attached to that task, then it will be able accessible, e.g. Modify User NickName Task, where a 1 step approval workflow is attached, and the user's direct manager must approve.
Scenario: External process captures data (form), form submits a web service call to IM (java or CLI) using SOAP & authentication; Form is submitted with data (nickname) and userID, to the "Modify User NickName Task", IM workflow is then kicked off for the manager to approve.
There is a small learning curve with using web services, but the tool of SOAP UI, will definitely help with the process.
Using this tool and others, you can expose and use web services without any coding, keep the effort at the business level skill set.
Example of calling IM Tasks via TEWS (SOAP / XML) web services with a CLI (command line script):
Use Powershell to call IM TEWS (SOAP)
Example of using SOAPUI tool (free or paid) to view/de-contruct the TEWS SOAP body (from the IM WSDL):
IM BLC with SSL and SiteMinder Integration
I used SOAPUI to emulate the IM BLC client.