Hi,
I have some fairly complex workflows that were developed in vRO 7.5. After importing (via a package) into 8.1 I modified the workflow input forms, taking out the old OGNL validation and replacing it with validation based upon new features in 8.1 that can do the validation "out of the box".
However, after changing them, some of the OGNL validations are still active on the input form. I've tried deleting the related fields from the input form, saving, then re-adding, but the problem still persists.
If I do a version history, I can see the source of the workflow and can also see the offending OGNL validators, e.g:
I'm guessing this is down to a bug in the workflow designer? What's the best way to sort this out?
Thanks!
Worked this out, you have to use the rest API to grab the workflow content, remove the OGNL validators from the json, then update.
GET /api/workflows/{id}/content
PUT /api/workflows/{id}/content
Worked this out, you have to use the rest API to grab the workflow content, remove the OGNL validators from the json, then update.
GET /api/workflows/{id}/content
PUT /api/workflows/{id}/content