Hi,
imagine a workflow with on start (cyclical) automation that starts the workflow itself. This can be a sync of an external data source with a dictionary. If the sync returns an error a step for error validation gets entered. Having this on dev, test and prod would then generate a task on all environments.
I expect to have a task creation only in production environment if the process already exists on prod. If the process only exists on test and dev I expect the task creation only on test. And if only on dev then the task on dev.
Have you already found a way how to prevent a task creation on the "lower" environments?
One first idea would having 3 MSSQL connections for all 3 environments. Then a MSSQL data source for each connection that gets process information, mainly the process GUID and then a business rule managing where this process GUID can be found across all environments. We have a global constant environment ID with breaked inheritance return 3 for dev, 2 for test and 1 for prod.
I'm looking forward to your (better) suggestions.
Kind regards
Sébastien