Question

Coforge BPM Inc
US
Last activity: 18 Aug 2025 12:55 EDT
How to control visibility of case wide flow actions based on harness type? (infinity 24.2.2 cosmos )
Hello,
I'm working on an infinity 24.2.2 cosmos app and I'm trying to hide a specific case wide local action based on whether the user is in the perform harness. I'm having some trouble finding an appropriate condition, as the standard when rules I'm familiar with are not working as expected. The actions menu does not seem to be able to distinguish between which harness type I have the work object open in.
I have tried the following when conditions:
- !pyWorkActionsIsPerform
- !pzIsPerform
- pzIsReview
- !pzIsPerformState
- !pyIsHarnessTypePerform
- !pxIsEditable
I can use variations of the above conditions to make certain sections or properties read only, but they do not work when applied to the case wide local action. A colleague was able to use !pyWorkActionsIsPerform to hide a case wide local action, but their app is on 24.1.3. Perhaps there's been some sort of architecture change between the versions?
Does anyone have any guidance on how I can go about accomplishing this without using any of the conditions I've tried above? Thanks for your time.