spacer
cornerspacercorner
Reply
Occasional Advisor
BrianEchard
Posts: 8
Registered: 11-29-2010
0 Kudos

BPM v9 Dynamic Roles & Actions

I am trying to finalize a v9 Procedure.  It's actually quite simple but I can't get an action to work if I use a dynamic role.  The stage works and it appears on my to do list but the action buttons do not show up.  I attached the details.

Advisor
TKLam
Posts: 13
Registered: 06-03-2010
0 Kudos

Re: BPM v9 Dynamic Roles & Actions

Did you make sure to flip the switch in the registry to "DisableStaticRoleResolution"?

 

If not you can check,

 

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Metastorm\e-work\Engine

 

Change:

DisableStaticRoleResolution = 0     to DisableStaticRoleResolution = 1

 

Give that a shot.

Esteemed Contributor
Jerome҉
Posts: 744
Registered: 05-18-2010
0 Kudos

Re: BPM v9 Dynamic Roles & Actions

Firstly to answer one question in the PDF file: "I’m not sure why the role only sees SAP_Asset_CapitalizationData and the form shows SAP_Asset_CapitalizationData1 but it appears to be correct. "

 

I am assuming you have eliminated the possibility that the 'to do list' role is not available when the form reopens immediately after the first action, and after subsequent actions will not be updated if the form reopens automatically.

 

On the form you are seeing an 'instance' of the process business object. As such it is named after the object with a '1' added. A second instance would have a '2' added, etc. In the role calculation, as anywhere else in the process itself, you will refer to the process business object by the object name itself. I'll not try to explain exactly why as it gets too far into OO for this issue.

 

I myself would examine the actual data for the folder. We have a form in our library (see link below) that shows all variables and their values for a Folder. It is only visible to admin, so we add it to every stage in every process. We also add a form showing the current status and another showing Designer Log errors. Together, I suspect these may help with the issue.

 

Given these forms, I would check the To Do list values on the status form, the actual variable values in the Variables form, and then see if there are any Designer Log entries on the Designer Log form. Something gone awry, that is clear, because this works all the time for us.

Esteemed Contributor
Jerome҉
Posts: 744
Registered: 05-18-2010
0 Kudos

Re: BPM v9 Dynamic Roles & Actions

 


TKLam wrote:

Did you make sure to flip the switch in the registry to "DisableStaticRoleResolution"?

 

If not you can check,

 

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Metastorm\e-work\Engine

 

Change:

DisableStaticRoleResolution = 0     to DisableStaticRoleResolution = 1

 

Give that a shot.


I would be very wary of doing this unless you know exactly what the effects are. It will also have no effect in this situation in any case.

 

Occasional Advisor
BrianEchard
Posts: 8
Registered: 11-29-2010
0 Kudos

Re: BPM v9 Dynamic Roles & Actions

The consultant we use found that when it was evalulating dynamic roles it was forcing the username to lower case but the username in the eUser table was upper case.  He switched it to force uppercase and all is now well.  Not sure that's the best solution but it worked.

Esteemed Contributor
Jerome҉
Posts: 744
Registered: 05-18-2010
0 Kudos

Re: BPM v9 Dynamic Roles & Actions

We have had a very similar issue.

 

It seems that, contrary to expectations, role evaluation is sometimes case sensitive. This is 'new' to version 9, but can cause issues in legacy systems where case has been 'variable', shall we say. We have a few going back up to 10 years and to version 5, so we will need to be sure we standardise the user information case now that we are 'semi-colonists'.

Employee
Ari Chopra
Posts: 779
Registered: 05-18-2010
0 Kudos

Re: BPM v9 Dynamic Roles & Actions

I have run into this issue as well, albeit only when using SSO.  I had to modify the SSO script to force the case to be the same as what was in the eUser table.

Occasional Contributor
Mark Nichols
Posts: 4
Registered: 02-13-2012
0 Kudos

Re: BPM v9 Dynamic Roles & Actions

Just had the same issue here. I set the dynamic role expression to return LOWER case and it worked. Strange thing is that in DEV it worked without conversion. Does anyone know if there is a case sensitivity setting somewhere?
Employee
Dan Michael
Posts: 3,654
Registered: 09-14-2010
0 Kudos

Re: BPM v9 Dynamic Roles & Actions

@Mark, is there a difference in versions between Dev and the other system? What Version are you running on?

Advisor
Robert Vignerot
Posts: 38
Registered: 11-15-2011
0 Kudos

Re: BPM v9 Dynamic Roles & Actions

I have run into this issue a few times now using 9.1.2.  I'm not sure if it was the same way previously.  It seems like dynamic role evaluations are case sesitive.  If the username assigned at login from eUser or SSO and the username the dynamic role returns are a different case (e.g. 'username' vs 'Username'), the user will not be granted access.

 

I believe this should be considered a defect as there is not workaround other than to make sure the user source and the dynamic role source have the same case.

line spacer line
spacerFollow Metastorm on:
spacer Twitter YouTube Blog iTunes LinkedIn Metastorm Community Central, MC2
spacer Copyright © 2011 OpenText Corporation. All Rights Reserved.spacer About Metastormspacer Privacyspacer Legalspacer Site Mapspacer RSSspacer Contact Us
Microsoft Gold Certified Partner
Powered by Windows Azure
line spacer line