<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000A1p2p3CQAOkta Identity EngineWorkflowsAnswered2025-04-06T09:02:04.000Z2024-03-01T11:15:54.000Z2024-03-19T18:28:53.000Z

jumo9 (jumo9) asked a question.

Providing Access to Okta Workflow Tables to Standard Users

Hi,

I have seen the same question for Okta Workflow:

https://support.okta.com/help/s/question/0D54z00009hZwh2CAC/okta-workflow-permissions-standard-user-access?language=en_US

 

I have a table in Okta Workflow which my Help Desk team will be using. And based on the entries of these tables, the workflows will be running. So I dont think the Delegated flows will also work here. So is there any way of doing this: providing access to Okta Workflow Tables to standard users?


  • TimL.58332 (Workflows)

    @jumo9 (jumo9)​ - Everything you described could be handled by a Delegated flow to add/update entries in the table and a scheduled flow that runs to remove users. I don't see a reason why these users would even need to directly touch Workflows.

     

    The table would need data points like: TargetUserID, TargetGroupID, DateToBeRemoved + anything else you want to store.

     

    The Delegated flow could then search the table to determine if TargetUserID+TargetGroupID has a match. If matched "update" the found row. If not matched Make a new row.

     

    The scheduled flow (+1 helper) would check the table to see if the DateToBeRemoved has passed. It would then remove the specific user from the specific group. Since you potentially could find multiple results in one check you need to foreach the found rows to a helper to be processed for removal.

    Expand Post
    Selected as Best
  • TimL.58332 (Workflows)

    @jumo9 (jumo9)​  -- No. No method to do this. Access to Workflow Console requires the user be a Super Admin. RBAC functionality is on the roadmap but is not available yet.

     

    As I don't know what your exact use case is it is hard for me to provide suggestions.

     

    >And based on the entries of these tables, the workflows will be running

     

    Why would they need access to the table? Typically, tables are used in one of two ways:

     

    • As a reference point that is dynamically utilized as part of a flow. Search rows, find value, dynamically use value(s) later in the flow.
    • As a record of the results of the flow execution. Such as which users had changes made because they evaluated to be processed.

     

    If you need non Super admins to access a value in a table or the contents of the table you could "Send" the table or value to them through a delegated flow delivered as an email attachment or even as something like a Slack message.

    Expand Post
  • jumo9 (jumo9)

    @TimL.58332 (Workflows)​ My use case is: I want to give users temporary access to groups. For which I have written the workflows which will be running on a schedule. To store mapping of user, group and duration, I have created a table as well there. Now the entries in the table will be managed by Help Desk Team. As these requests for giving temporary access will be very frequent and the Help Desk team will just update the table for the user, group and duration part. And I don't want to give them super admin access for this task. Now do you think is there any other way around to achieve this?

    Expand Post
    • TimL.58332 (Workflows)

      @jumo9 (jumo9)​ - Everything you described could be handled by a Delegated flow to add/update entries in the table and a scheduled flow that runs to remove users. I don't see a reason why these users would even need to directly touch Workflows.

       

      The table would need data points like: TargetUserID, TargetGroupID, DateToBeRemoved + anything else you want to store.

       

      The Delegated flow could then search the table to determine if TargetUserID+TargetGroupID has a match. If matched "update" the found row. If not matched Make a new row.

       

      The scheduled flow (+1 helper) would check the table to see if the DateToBeRemoved has passed. It would then remove the specific user from the specific group. Since you potentially could find multiple results in one check you need to foreach the found rows to a helper to be processed for removal.

      Expand Post
      Selected as Best
  • jumo9 (jumo9)

    @TimL.58332 (Workflows)​ Yes, Delegated Flows are working. But there is no option of making a field as mandatory. Is there a way to do this?

    • TimL.58332 (Workflows)

      @jumo9 (jumo9)​ -- No, you would just need to fail the flow. If I were building something out like this and I had access to Teams or Slack in my environment I would build in input validation at the start of the flow and if the inputs are not in expected formats (or are left empty) I would shoot a "message" to the admin that kicked off the delegated flow since their Okta User ID context is included on the execution. The input validation could be completely done in a Helper flow that just kicks back a "passed validation" T/F. Then "if" false a message along the lines of "Your execution of Delegated Flow X failed to pass input validation. Please ensure all fields were filled out with the expected information"

      Expand Post
This question is closed.
Loading
Providing Access to Okta Workflow Tables to Standard Users