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
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
Comments
-
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 "
0 -
%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.
0 -
The correct value to check is %User.Form
0 -
User.Form works perfectly.
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 153 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories