Actions
Task #2564
closedPass provisioning context to scripts
Start date:
11/06/2020
Due date:
% Done:
100%
Estimated time:
Owner:
Description
Provisioning context is not passed to a script in provisioning mapping.
scriptEvaluator.evaluate( scriptEvaluator.newBuilder() .setScriptCode('SCRIPT') .addParameter('scriptEvaluator', scriptEvaluator) .addParameter('uid', uid) .addParameter('attributeValue', attributeValue) .addParameter('entity', entity) .addParameter('system', system) .build());
I propose that we should pass the context to scripts if it is defined for the given mapping.
scriptEvaluator.evaluate( scriptEvaluator.newBuilder() .setScriptCode('SCRIPT') .addParameter('scriptEvaluator', scriptEvaluator) .addParameter('uid', uid) .addParameter('attributeValue', attributeValue) .addParameter('entity', entity) .addParameter('system', system) .addParameter('context', context) .build());
Related issues
Actions