spacer
cornerspacercorner
Reply
Advisor
Prax
Posts: 34
Registered: 07-05-2011
0 Kudos
Accepted Solution

Am I at a stage or action

I remember seeing the answer to this somewhere on the forums - but I'm unable to locate it now :smileysad:

 

How do I know in code, if I'm on a stage or action . Basically I have something I need to conditionally display at a stage but not at an action.

 

Thanks

Advisor
Prax
Posts: 34
Registered: 07-05-2011
0 Kudos

Re: Am I at a stage or action

One workaround i can think of is using a checkbox variable - set it true on "when action started" and false on "when action completed" and use that to drive visibility. Would this work or is there a way to do this using something like Stage.Name or Todo list "

Occasional Contributor
RodneyH
Posts: 3
Registered: 05-20-2010
0 Kudos

Re: Am I at a stage or action

%Action.Name is populated with a value when the folder is open at an action.

 

You could try

 

1) Adding a read-only text field on the form with a calculation formula of "%Action.Name"

2) Make the field you want to display for the action dependent upon the field above

 

The only drawback would occur if the folder is locked and another user attempts to view the form. But you could probably make the calculation formula take that into account.

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

Re: Am I at a stage or action

Advisor
Prax
Posts: 34
Registered: 07-05-2011
0 Kudos

Re: Am I at a stage or action

User.Form works perfectly.

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