-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Is your feature request related to a problem? Please describe.
Per this forum post: https://developer.sailpoint.com/discuss/t/workflow-owner-left-the-organisation-and-now-it-fails/8539
When an admin leaves the company, any workflows they created/edited will no longer work. If the remaining admins catch this early and reassign the workflows to another admin, then there will be no outages. If they don’t, then there are failed workflows and they have to reassign the owner and potentially fix the failed runs.
There is no easy way to reassign workflow owners. I imagine as the number of workflows increases in a tenant, the time it takes to reassign them gets longer.
Describe the solution you'd like.
This might be fixed in the UI at some point, but until then a new command in the CLI would be nice.
Example of how the command might look/work:
sail workflow reassign --previous-owner-id f9083fasd --new-owner-id q90834348
Additional commands could also be added to make other aspects of workflows easier to manage. For example:
- Update an individual workflow from a file:
sail workflow update --input /path/to/workflow.json - Download all workflow files for backup or editing:
sail workflow download --all - Download recent invocations for a workflow:
sail workflow download {workflowId} --invocations - Better log parsing for workflow runs.
sail workflow logs {workflowId} - Stream workflow logs to see them in realtime...
sail workflow logs {workflowId} --tail
etc.