I want to write workflow action conditions on the client script. How can I do that? I can’t find any documentation regarding that .
Hi @Abhiraj_Tulsyan
When you create a workflow in DocType. Then a field called workflow_state is added to the DocType. Can write Client script on it
Thank You!
I mean to ask on workflow action. I only want workflow action to be displayed on specific conditions. On Form Scripts, there is no documentation for it. There is a tab called condition tab in workflow, there I can write when that workflow condition will be visible, but what about Form Script (Js)
Hi @Abhiraj_Tulsyan,
If you use Workflow for a doctype, you can only display the status or state related to that workflow. You can’t set conditions based on the workflow work. Currently, the system doesn’t support that functionality.
However, if you want to create a workflow and customize the states and actions based on a specific situation or condition, you can do that according to your needs.
I hope this helps.
Thank You!