[midPoint] Approval workflow - strange behavior

Pavol Mederly mederly at evolveum.com
Mon Sep 11 12:02:03 CEST 2017


Wojciech,

it could be that the provisioning of roles encountered a problem (e.g. 
maybe an account could not be created somewhere). If there were no 
approvals, the operation would execute completely on the foreground and 
you would see the error message in a standard way via GUI. But in the 
approval case, the operation is executed in a task on background. So 
errors are written to the log.

Oskar asked here about the possibility of configuring behavior of tasks 
when a problem is encountered. This is exactly this case. And what would 
be needed as well is somehow reporting the problem e.g. to original 
requester. Notifications are designed to provide that, but I am not sure 
if all the required mechanisms are in place. It would be nice to try that.

Best regards,

Pavol Mederly
Software developer
evolveum.com

On 11.09.2017 11:19, Wojciech Staszewski wrote:
> Hello!
>
> I'm getting strange behavior with the workflow.
> When some user requests bunch of roles, the workflow process and work items are created. Proper approvers are getting their tasks and notifications. They are approving the request.
> After all approvals the requested roles are assigned to the user. All work items are completed OK.
>
> All fine for now. But the workflow process is still active, in the "Tasks" tab on the user panel I still see it with status "partial error".
> Resuming this process makes it immediately "completed" with no error.
>
> Regards,
> Wojciech Staszewski
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint




More information about the midPoint mailing list