Highlighted
Honored Contributor.
Honored Contributor.
384 views

$G.pm.environment calculation when using process designer

Jump to solution

Before the process designer, $G.pm.environment contained the user's incident profile. But when using the process designer, it is calculated based on Security Roles and Rights.

However for some settings it is not exactly clear not documented where the new calculation method gets them. Can you please let me know when and where this is calculated?

Thanks,

Jan.

0 Likes
1 Solution

Accepted Solutions
Highlighted
Super Contributor.
Super Contributor.

Re: $G.pm.environment calculation when using process designer

Jump to solution

Hello,

 

The variable is build at the connection on the RAD app named apm.setup.globals at the panel populate.pm.env.

The ScriptLibrary called is SecuritySetupEnvironment and the function used populateProbsummaryEnvironment

$L.void=jscall("SecuritySetupEnvironment.populateProbsummaryEnvironment")

 

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
3 Replies
Highlighted
Outstanding Contributor.
Outstanding Contributor.

Re: $G.pm.environment calculation when using process designer

Jump to solution

Hello Jan,

can you clarify which setting is not clear for you? an example would be more usefull for us.

br, Francis

0 Likes
Highlighted
Super Contributor.
Super Contributor.

Re: $G.pm.environment calculation when using process designer

Jump to solution

Hello,

 

The variable is build at the connection on the RAD app named apm.setup.globals at the panel populate.pm.env.

The ScriptLibrary called is SecuritySetupEnvironment and the function used populateProbsummaryEnvironment

$L.void=jscall("SecuritySetupEnvironment.populateProbsummaryEnvironment")

 

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
Micro Focus Expert
Micro Focus Expert

Re: $G.pm.environment calculation when using process designer

Jump to solution

Hi Jan,

That variable is set in the rad with name "apm.setup.globals".
The process to set it up starts in the panel "decide.build.pm". After a couple of panels, the RAD gets to the panel check.setup.select in which the flow goes to the panel "populate.pm.env" if process designer is enabled. Finally, in the RAD calls the Javascript "SecuritySetupEnvironment" in the funcion "populateProbsummaryEnvironment".

Take a look at this last Javascript and you will find how the variable is populated.

Hope this information helps.

Best regards,

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.