VMware Cloud Community
TimDScott
Enthusiast
Enthusiast
Jump to solution

7.5 workflows using OGNL validation - issues when upgrading to 8.1

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:

 

Untitled.png

I'm guessing this is down to a bug in the workflow designer? What's the best way to sort this out?

Thanks!

0 Kudos
1 Solution

Accepted Solutions
TimDScott
Enthusiast
Enthusiast
Jump to solution

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

 

View solution in original post

0 Kudos
1 Reply
TimDScott
Enthusiast
Enthusiast
Jump to solution

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

 

0 Kudos