Triggering InvokeAspectsTask after workflow completion

I have a question regarding the possibilities of the Invoke Script Aspect. In the documentation it clearly states that it requires the InvokeAspectsTask.

But is there a way to have the script or this InvokeAspectsTask be triggered immediately after the workflow, rather than waiting for the scheduled job to run?

When using the Manage Accounts feature to reset passwords or to lock/unlock a user, those actions are performed immediately. Would it be possible to make a workflow behave like that?

Hello @Kamil.Wojenkowski , good question.
We will check internally, but 100% of Identity Manager (99,999 exception is user lock/unlock as you said) is based on asynchronous process to ensure systemic treatment (moving 6 years ago from an event-based engine to a far more powerful Policy based engine). Based on that I think it is not possible.
You can post an idea to our Product Manager, @kate.flemo will confirm my answer of not … and decide to add this idea to the product backlog … or not :slight_smile:

2 Likes

Hi @Kamil.Wojenkowski,

Unfortunately, this cannot be done (as Thierry said). The architecture of NIM does not allow it.

As you now all scripts are executed by the agent. For security reasons, the server cannot send orders to the agent. It is always the agent who initiates the connection with the server. The agent is trigged via the jobs.

You can create a new feature request.

Not sure if there is a work around.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.