currently I have a subprocess that uses pp!initiator to get the user data to check few validation, and one sometimes the pp!initiator seems to not pick the user from the parent process and i think instead it picks the masteruser (i.e. ABC) which was used to publish the process model.
It happens on random instances. Am i missing something.
Discussion posts and replies are publicly visible
pp!initiator behavior in a subprocess depends on how it's invoked. Sync (Sub-Process node) inherits the parent initiator correctly, while async (Start Process smart service) resolves it to the process model publisher instead. Without a detailed process design view, the exact cause can't be confirmed. Make sure you are not running sub process or node as run as whoever designed this process model under assignment tab.Either way, avoid relying on pp!initiator for user validation in subprocesses; pass the parent initiator explicitly as an input process variable instead.