Our use case requires an external application making ERPNext Workflow API calls.
Specifically, we would like to achieve the following from our external application:
- Create a new Workflow in EPRNext
- Add Workflow states
- Add Workflow transitions
We have looked at , that describe something similar but they are working on the premise that you are within the ERPNext backend.
As an alternative, the REST API docs, say that you can call methods that are marked as
whitelisted, but none of our required actions mentioned above seems to be whitelisted in the
workflow.py source file on github (I would post the link but there’s a link limit for new users)
Or are we looking in the wrong place and what we really should be doing is using the Document API  to achieve our objectives?