Highlighted
Super Contributor.. Super Contributor..
Super Contributor..
42 views

Data from other entities in the serviceRequest form

Hi,

Could you please give me any advice about this issue:

Use case:

  • Customer wants to have Offering for request of application roles for the internal apps
  • In the detail of the Offering (serviceRequest form) customer would like to have dynamic list of roles, which the user (requestor) already has assigned
    • This field should be only informative, not editable
  • We have already prepared custom entity for application roles, which will be linked with users

Questions:

  • Is there a way, how to get this functionality?
  • Could be in the serviceRequest form added fileds from other entities (not editable)?
  • Could this problem be solved through text field and business rules (get the list of user roles as string)?

Thank you very much for any advice

0 Likes
1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: Data from other entities in the serviceRequest form

Hello,

Displaying existing roles directly in the Portal is not possible. The roles are not regular fields stored on a record.

If you have a small number of roles you need to display, you can try to do it with business rules. The IsPermitted function allows you to check if a user has a specific role. You could add the relevant business rules to run the checks and save the result in some user options (probably booleans are your best option). Then for those

There are two business rules specialized for the Person workflow, to add and delete roles. Based on the values of the user options, you can update triggers on the Person record, which will then trigger the rules to add or delete one of these special roles.

Disclaimer: I have not configured this end to end flow exactly as explained, but I used in the past different subsets of this flow.

Best regards,

Brindusa

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.