Employee data is one of the most requested data across the organization and systems. The consumer systems are not only limited to Payroll, benefits and time management but also extend to core ERP, CRM, SRM IDM and GRC etc. We always strives to provide the complete HR data to disparate systems via our powerful APIs.
You can find details of of our existing ODATA APIs here. Apart from core personal and employment information we also have extensive APIs for extracting Workflow information. It is already possible to extract the details regarding existing workflows in EC including status and steps using wfRequest and EmpWFRequest entity. It is also possible to take multiple actions on workflow including approval and rejection via existing function imports.
The missing link for workflow in case of EC person and employment entities is the Pending data in a workflow which is not yet approved/rejected. In b1711 we have provided an Beta API to extract this pending data. This feature has been requested by multiple customers and partners especially for UI extension usecase. This API will allow you to read workflow for following entities
Like other workflow APIs, pending workflow API is also a function import. You can call it using post method, the API call look like
where WfRequesID is the workflow request ID which you can also get via WfRequest API.
As a pre-requisite you need to turn the provisioning switch “
- Old Value
- New Value
- Field ID
- Field Label
- Paycomponent (specific to paycomponent)
A sample response for a location change workflow is below:
In case of feedback or question, please feel free to use comment section.
Note: Beta Api can change incompatibly based on beta feedback from customers and partners.