Accessing conditions in custom action of suitecrm workflow

I have created custom action in suitecrm workflow. I want to access condition of that workflow while executing custom action. I mean i want to access it inside run_action function,

How I can do the same ?

Please reply us as soon as possible.

Thanks