Here, we will extract the data from HCM and then download the data from UCM uaing Flow Actions Service and Generic Soap Service
To know how to create HCM extract based on user entity, follow my below blogs:
https://soalicious.blogspot.com/2024/05/oic-hcm-configure-hcm-extract-bulk-data.html
UCM
Check data from HCM Extract:
Required WSDLs:
Extract data:
Generic SOAP service for UCM upload / download:
https://hostname:443/hcmService/FlowActionsService?WSDL
Upload or download From UCM:
https://hostname:443/idcws/GenericSoapPort?WSDL
Implementation steps:
- Create a HCM extract based on employee user entity.
- FlowActionsService - Extract data from HCM which will be uploaded to UCM using below operation
- SubmitFlow
- Flow name
- Parameter values like param: Effective Date
- FlowInstanceName
- Legislative Data group name
- Schedule Date
- Recurring Flag : false
- Take a while loop and continue till getFlowTaskInstanceStatus = COMPLETED
- Add wait 5 mins
- FlowActionsService - getFlowTaskInstanceStatus
- Flow Instance Name
- Flow Task Instance Name
- Legislative data group Name
- Take am assign and update the getFlowTaskInstanceStatus
- FlowActionsService - getIntegrationContentId
- Flow Instance name
- Flow task instance name
- Legislative data group name
- Integration name
- Take an assign and create query text value using content id as concat("dDocName <substring> `",upper-case(ContentId),"`")
- GenericSoapService - get dID from content id
- wbKey="CS"
- IdService="GET_SEARCH_RESULTS"
- Document field name="QueryText"
- Value = $varQueryTextValue (step5)
- GenericSoapService - get File from UCM from dID
- webKey = "CS"
- IdService ="GET_FILE"
- Document Field name="dID"
- Value =dID fetched from step6
- Decode the data : decodeBase64(Contents)
Notes:
- Flow name : hcm Extract name
- Integration name : the integration name what we provided during extract creation
- Flow instance name = should be unique like flow name + guid
- Flow task instance name = hcm extract name
Detailed screenshots:
Create soap connections:
FlowActionsService:
Test and Monitoring:
OIC activity stream payloads
No comments:
Post a Comment