on 05-06-2013 1:33 PM
Hi All,
I am writing script to cancel workflow which is in 'awaiting for approval' status. For this i am writing a toolbar script. In this script when i am using the variable 'current_phase' i am getting null point error. Not sure why it is giving null but this same variable is working for for 'document life cycle' context but not for toolbar context. Can some help me to get the current_phase value in toolbar script?
Is anything else we need to do to get this variable?
Regards,
Gurvi.
Hi Gurvi,
At the Toolbar script context probably current_phase is not available implicitly.You can use doc.getCurrentPhase() to get the current phase of the document.
Thanks
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.