I want to create a workflow that removes Access Profile and Entitlement when a user becomes inactive or when their information (such as department, position, etc.) changes.
However, the workflow I have created keeps producing errors, and the entitlements are not being deleted. Even when using HTTP instead of Get Access, I encounter errors. I need help with this issue.
[Output Log]
{
“loopOutput”: {
“failureItems”: [
{
“errorMessage”: “child workflow execution error (type: sp-child-workflow, workflowID: 84064d3d-01b8-4cb6-b98a-a64467163e39-1, runID: 40ac9832-ea3b-4320-a1fc-164f0d6d2dde, initiatedEventID: 23, startedEventID: 52): task failed: activity error (type: sp:access:manage, scheduledEventID: 5, startedEventID: 6, identity: 8cc10cbc-3219-4120-8731-f8e9f24f45f9): json: cannot unmarshal string into Go struct field ManageAccessInput.requestedItems of type infra.OutputAccessItem (type: Error Parsing Input, retryable: false): json: cannot unmarshal string into Go struct field ManageAccessInput.requestedItems of type infra.OutputAccessItem (type: UnmarshalTypeError, retryable: true) (type: withStack, retryable: true): task failed: activity error (type: sp:access:manage, scheduledEventID: 5, startedEventID: 6, identity: 8cc10cbc-3219-4120-8731-f8e9f24f45f9): json: cannot unmarshal string into Go struct field ManageAccessInput.requestedItems of type infra.OutputAccessItem (type: Error Parsing Input, retryable: false): json: cannot unmarshal string into Go struct field ManageAccessInput.requestedItems of type infra.OutputAccessItem (type: UnmarshalTypeError, retryable: true) (type: ExecutorError, retryable: true): task failed: activity error (type: sp:access:manage, scheduledEventID: 5, startedEventID: 6, identity: 8cc10cbc-3219-4120-8731-f8e9f24f45f9): json: cannot unmarshal string into Go struct field ManageAccessInput.requestedItems of type infra.OutputAccessItem (type: Error Parsing Input, retryable: false): json: cannot unmarshal string into Go struct field ManageAccessInput.requestedItems of type infra.OutputAccessItem (type: UnmarshalTypeError, retryable: true) (type: withStack, retryable: true): task failed: activity error (type: sp:access:manage, scheduledEventID: 5, startedEventID: 6, identity: 8cc10cbc-3219-4120-8731-f8e9f24f45f9): json: cannot unmarshal string into Go struct field ManageAccessInput.requestedItems of type infra.OutputAccessItem (type: Error Parsing Input, retryable: false): json: cannot unmarshal string into Go struct field ManageAccessInput.requestedItems of type infra.OutputAccessItem (type: UnmarshalTypeError, retryable: true) (type: wrapError, retryable: true): activity error (type: sp:access:manage, scheduledEventID: 5, startedEventID: 6, identity: 8cc10cbc-3219-4120-8731-f8e9f24f45f9): json: cannot unmarshal string into Go struct field ManageAccessInput.requestedItems of type infra.OutputAccessItem (type: Error Parsing Input, retryable: false): json: cannot unmarshal string into Go struct field ManageAccessInput.requestedItems of type infra.OutputAccessItem (type: UnmarshalTypeError, retryable: true)”,
“payload”: “”
},