Highlighted
Visitor.
90 views

Role Request Activity with flowdata.getObject from multi selected list

Hello everybody,

I have a issue with a workflow in our environment (Version 4.7.3):

Inside the request form a user can select multiple Roles from a PickList. These selected values are "copied" into another hidden field inside the form with the dn of the selected roles. (This is working with an "onchange" command, if I make this hidden field "visible" I can see the dn of the selected roles).

At the Post Activity of the Workflow the hidden field is mapped into the flowdata.

But if I want to create a "Role Request Activity" and select the "flowdata.getObject('Start/hiddenfield")" the catalina.out shows me "No Roles to request are specified".

The question is how I can make that these "Role Request Activity" will go through this flowdata object like a loop.

 

Thanks in advance for your help and ideas!

Cheers, Dirk

Labels (2)
0 Likes
1 Reply
Highlighted
Honored Contributor.
Honored Contributor.

Re: Role Request Activity with flowdata.getObject from multi selected list

Hi!

What you have outlined should be working. There is no need to loop over the roles, you can send the object as you do with flowdata.getObject('Start/hiddenfield"). I do the same and it works for me on the same version on IDM.

I would make sure that your hiddenfield in flowdata acctually contains data. For instance, use a logging activity with "flowdata.get('hiddenfield').length".

Best regards

Marcus

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.