Is it possible to pull in the Role Field in Fusion? | Community
Skip to main content
Level 2
December 8, 2021
Question

Is it possible to pull in the Role Field in Fusion?

  • December 8, 2021
  • 1 reply
  • 475 views

I have a rather complex Fusion that assigns approval flows on requests based on managerial relationships, departments, and $ amounts in Workfront. At times, I need to write in exceptions using JSON code, however, there appears to be no way to narrow down individuals based on roles in either JSON or just the regular interface, so I have to hard code it by User ID in JSON--which is, of course, not the most sustainable. Am I missing something here? Or do I need to request that Workfront make the User Role field available over API for Fusion?

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

ChrisBudgen
Level 5
December 13, 2021

I'm not sure that I get your question, but you can call the roles of a user via the advanced functions -> collections -> userRoles. You can then use an iterator to check for specif roles.