Hello everyone, I’m trying to build a costum request for others in which I can select multiple access items and based on the number of these access item i want to trigger an interactive form to set up a sunset date for each of these access item. To achieve this requirement I’m implementing a workflow with a loop. the loop is iterating over the array of the access items and inside the loop i’m calling the interacting form that I built for requesting for each access item the sunset date:
the problem is that when executing the workflow, i’m receiving this error:
{
"loopOutput": {
"failureItems": [
{
"errorMessage": "task failed: activity error (type: sp:interactive-form:send-form-block, scheduledEventID: 5, startedEventID: 6, identity: 1@sp-workflow-worker-stg-eu-central-1-5cffff5b96-7gd5m@sp-workflow-engine): infra.completeInteractiveProcessActivity: interactive action used with out interactive trigger (type: Error Parsing Input, retryable: false): infra.completeInteractiveProcessActivity: interactive action used with out interactive trigger (type: fundamental, retryable: true)",
"payload": null
}
],
"successfulItems": []
}
}
it looks like that I can’t insert an interactive form inside the loop. So I’m looking for a fix or a workaround. the workaround would be to determine the number of access items requested in the “select access item” block and than call an interactive form that is able to display the selection of the right number of sunset date based on that number. The point is, how I can retrieve the size of the selected access item?
