We have a webAPI call to return a list of records to an external system. From t

We have a webAPI call to return a list of records to an external system. From that we have a requirement to make another webAPI call passing in the unique identifier for any given record in the previous list and return the names of any related actions for that record that are currently available based on the visibility expressions for the related actions. Anyone know how we can get that list of related actions? Thanks in advance.

OriginalPostID-176011

OriginalPostID-176011

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    The short answer to this is "No". That said, Jim's suggestion has merit; what about moving the visibility rules for the related actions to the database? It could be rather complicated but, if they're only based on something like a status, you could query by status and type and return the name of the related action, for example? You could also use the same rules for the visibility expressions, thereby only storing that logic in one place.
Reply
  • 0
    Certified Lead Developer
    The short answer to this is "No". That said, Jim's suggestion has merit; what about moving the visibility rules for the related actions to the database? It could be rather complicated but, if they're only based on something like a status, you could query by status and type and return the name of the related action, for example? You could also use the same rules for the visibility expressions, thereby only storing that logic in one place.
Children
No Data