Skip to Content
0
Former Member
May 06, 2013 at 12:33 PM

Cancell Workflow using Script

27 Views

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.