Highlighted
Absent Member.
Absent Member.
341 views

addResource() UI Rule Function

Is anyone using the addResource() function in the UI rules?

The description in the docs is a bit vague. What I'm hoping is that I can use this function in a rule against user field to add/remove work against a the resource selected in that field. I've tried using this function, but it seems to just hang and "crash" the form.

Thanks!
0 Likes
2 Replies
Highlighted
Established Member..
Established Member..

Hi Patrick, 

 

Finally, did you use the addResource function? Could you help me? I'm trying to use it but I have a lot of errors...

Thx a lot.

Kr,

Joana.

0 Likes
Highlighted
Established Member..
Established Member..

How you are using it, can you paste it here and also what issue error you are facing.. please sahre the details. Here are some facts about this UI rule.

 

  1. Make sure the Feild "Assigned To" is enabled and have feild level security for the user that is changing it (or editable to all).
  2. The Field whose token you are passing sould NOT be multi select auto complete list

 

Basically what addResource() function is doing is, it will just add the user to "Assigned To" field and then who ever is assigned to "Assigned To" field gets automatically added to "Resource Section". Just make sure the auto complete list validation is single select rather than multi select.

Cheers..
Utkarsh Mishra

-- Remember to give Kudos to answers! (click the KUDOS star)
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.