Workflow Users report or query

  • Workflow Users report or query

    Posted by Mark Jones on January 5, 2018 at 5:08 pm
    • Mark Jones

      Member

      January 5, 2018 at 5:08 PM

      Is there a way to create a report or query that lists all users that are assigned to workflows, the workflow name and elements they are assigned to?

      I am looking for a way to identify workflows that may need to be modified if a user leaves the company.Ā  Some workflow elements/controls are assigned to roles and others to individual users.

      We are only using one workflow currently; it is for new vendor application approvals, but it contains many elements and is time-consuming to view each element to see who is assigned and, if roles are assigned, which users belong to those roles.

      Would be happy to create a report using Atlas or a SQL Query if I knew all of the tables.Ā  I am brand new to AX 2012 R3.Ā  I greatly appreciate any help.

      ——————————
      Mark Jones
      Lead IT Business Analyst
      UniGroup, Inc.
      Fenton MO
      ——————————

    • Michael Stanfield

      Member

      January 8, 2018 at 8:37 AM

      Hi Mark,Ā 

      Take a look at the WorkflowWorkItemTable as this contains all the work items associated with a workflow/user.Ā 

      This should provide the username, refTableId, refRecId and status. You may need to filter on the status (Look at the enum WorkflowWorkItemStatus to see the possible values).

      Since you only use one workflow, it should be pretty easy to join out to the table using refTableId and refRecId – just note that as you incorporate more workflows, you will need a switch statement on the refTableId.Ā 

      Depending on the number of workflow work items per user, you may want to consider creating a class which reassigns the workflow items? This would be pretty easy to implement.Ā 

      Please let me know if you have any questions or need further clarification on the above.Ā 

      MichaelĀ 

      ——————————
      Michael Stanfield
      Senior Consultant II
      Armanino LLP
      Carmel, IN
      ——————————
      ——————————————-

    • Seth Greenberg

      Member

      January 8, 2018 at 1:03 PM

      Hello,

      Another avenue to explore would be user group setups. Follow these breadcrumbs to get there – Systems Administration – Common – Users – User groups. You can create a Group code to select in the workflow, add the longer description and select the users that would be assigned to the group in the ‘Users’ tab.Ā 

      In the workflow element ‘assignment type’ tab you would select ‘Participant’ instead of ‘workflow user’ or something else. In the ‘role based’ tab you would select:
      Type of participant – ‘User group participants’Ā 
      Participant – ‘group code’ you created as a user group.

      This will send the work item to all members of that group. If someone leaves the company, there will be no error msg related to that user. If you need to add someone to a workflow step, you would just add them to the user group. It is much easier to manage then attempting to keep track of who is in which element steps in one or many workflows. If you have questions let me know.

      Best Regards,
      Seth

      ——————————
      Seth Greenberg
      Supply Chain Manager
      Hamamatsu Corporation
      Middlesex NJ
      ——————————
      ——————————————-

    • Mark Jones

      Member

      April 3, 2018 at 5:26 PM

      Sorry for the delayed reply.Ā  For some reason I did not receive notification of the replies to my post.Ā  Thank you so much for taking the time to help.

      I guess I should clarify that I am looking to see not who is assigned to a particular request, but every conditional decision or approval operation a user could be assigned to:

      1) Who can be assigned to a conditional decision via the conditions as shown below:

      2) Who can be assigned to Approval Operation nodes of workflows:
      Gi4TGZtkQtyMqMuh7SA6_Approvers.png
      I will look into using User Groups and assigning those groups to workflows to simplify things.

      ——————————
      Mark Jones [Designation]
      Lead IT Business Analyst
      UniGroup, Inc.
      Fenton MO
      ——————————
      ——————————————-

    Mark Jones replied 8 years, 11 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Workflow Users report or query’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!