Highlighted
Established Member..
Established Member..
184 views

Update related fields if a field was set using Rule Set

Jump to solution

Hi Experts,

I set the field requested.by with vars.$lo_contact_name in Standard Change Registration Phase (by ruleset) if requested.by is empty.

My issue is that fields related to this field like location are not set/updated by this action.

If I enter manually a change requester all  related fields are set/updated by the link record but when setting via Ruleset this does not work.

Is there any way to realize this ?

Kind regards

Steve

0 Likes
1 Solution

Accepted Solutions
Highlighted
Super Contributor.
Super Contributor.

Re: Update related fields if a field was set using Rule Set

Jump to solution

Hello,

I suggest you to use two RuleSet:

1 - The first is your RuleSet to fill the requested.by field with vars.$lo_contact_name

2 - The Second RuleSet call a Process Record, and in this process record you can use the us.link RAD app to use a specific link record that fill the other requested fields. (You have an example of process record that call a link 'am.find.children' process)

Best Regards

LPP

Global Support Delivery Software Support Expert

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.

View solution in original post

0 Likes
4 Replies
Highlighted
Super Contributor.
Super Contributor.

Re: Update related fields if a field was set using Rule Set

Jump to solution

Hello,

I suggest you to use two RuleSet:

1 - The first is your RuleSet to fill the requested.by field with vars.$lo_contact_name

2 - The Second RuleSet call a Process Record, and in this process record you can use the us.link RAD app to use a specific link record that fill the other requested fields. (You have an example of process record that call a link 'am.find.children' process)

Best Regards

LPP

Global Support Delivery Software Support Expert

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.

View solution in original post

0 Likes
Highlighted
Outstanding Contributor.
Outstanding Contributor.

Re: Update related fields if a field was set using Rule Set

Jump to solution

Hi SteveZK,

I think PLP is a good way to accomplish your goal, but it's not necessary to create two ruleset you can use one ruleset and have multiple rules inside of it so you know one rule is executed first requested.by=vars.$lo_contact_name and then the call to process for us.link.

Good luck!

Regards,

SM Support Engineer

Thank you for using the Micro Focus Community. If you find that this or any post resolves your issue, please be sure to mark it as an "accept as solution".
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Update related fields if a field was set using Rule Set

Jump to solution

Actually, the rule type  Validate Field Against Table allows you execute a fill automatically after the validation is successful, so just add or update the validation for the field to include the fill fields.

Scroll to the bottom of the screen capture, and notice the "Click Here to Add Fill Information" option. 

The fill fields panel allows you to map the fields. 

 

This actually can replace mapping fields on link lines (always include at least one field in the link line  detail field map or else SM will copy all fields with matching names when the link executes). On codeless builds, I primarily map related field data this way, only mapping the key field  plus any fields displayed to the user in the link..

 

----------------------------------------------------
Kudos - what, where, how, and why
Want Good Answers? Ask Good Questions...
0 Likes
Highlighted
Established Member..
Established Member..

Re: Update related fields if a field was set using Rule Set

Jump to solution

Hi,

thank's for the proposed solutions, both works fine but for my case I prefer calling a process in the ruleset as I can use the existing link.

Have a nice day

Steve

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.