×

IDMWORKS Blog

Hitachi ID SOAP Web Services API – Create and Submit Workflow Request (WFPDRSubmit) Using Python


In this article I will be showing how to use Python programming language to create a Workflow Request and Submit it for processing by calling the WFPDRSubmit Function. This function is among the many functions exposed by the Hitachi ID SOAP Web Services API.

This blog entry piggybacks on the introduction to Hitachi ID SOAP API previously published at Hitachi ID Soap Web Services API – Calling the Login Function Using Python.

Purpose
The WFPDRSubmit function will accept all the attributes required for successful creation and submission of a Request. The Request will in turn be submitted to and processed by a Predefined Request(PDR) which is specified as part of the Request attribute . Below is the general form of the input and output for this function

Request:

Response:

Prerequisites
● Hitachi ID Suite 10.x and above
● Corporate Reference Build
● Python

Process
Assuming that the SOAP API Service is already setup per the information provided in my previous post, a fully functional Predefined Request(PDR) is required before the WFPDRSubmit function can be executed successfully. We will be using the NEW-EMPLOYEE PDR which comes pre-configured by installing the Corporate Reference Build (Read the Hitachi ID documentation titled “Component-Reference”) to know more.

Execute the following python script

Once the WFPDRSubmit function is successfully executed, the Request entry can be viewed using the Reporting feature of the HiIDM Suite.

Conclusion
A typical scenario where this function is useful is Bulk provisioning where large amount of data needs to be processed via a specific PDR in Hitachi ID Suite from other enterprise applications.

Questions, comments or concerns? Feel free to reach out to us below, or email us at IDMWORKS to learn more about how you can protect your organization and customers.

Leave a Reply

Your email address will not be published. Required fields are marked *