Share all details about your problem, including any error messages you may have received.
In a workflow, I have a rule where I am making changes to policy violation object. I am getting expected result with context.commitTransaction() only. Does this mean there is an implicit save happening within the workflow? Do I need to save the object if SailPoint changes internal behavior in future versions?
I’ve noticed similar behavior in previous versions(8.2 where I used) when using workflows. In these cases, I don’t need to explicitly save the object; after setting the attributes, the commit transaction works as expected. However, when operating outside of a workflow, I need to save the object before committing. I will look into this further.
@Unique
I would suggest to Save the object specifically, because some of the objects are saved directly internally as they are not really a direct object but still better to save
Hi,
a commit will be called in some steps in the workflow. At the very least whenever the workflow is parked due to approval.
But its save to assume that at the very least when the workflow is finished a commit will be called.
In you case I would at least make sure to only decache the policyViolaition and not the whole session.