Throw a validation error when workflow contains an anonymous inner class as Predicate/Custom Action

Description

We should investigate why this is happening. Add a workflow with

Then start the UI, deploy the app. Go to the workflow page, it shows a blank diagram.

Release Notes

None

Activity

Show:

NitinM June 9, 2020 at 1:25 AM

Closing older JIRAs that haven't been updated for 3 years.

Sreevatsan Raman August 12, 2015 at 4:20 PM

The fix is to throw errors if anonymous inner classes are used in workflow action.

Terence Yim July 29, 2015 at 8:00 PM

Just like predicate, I don't think we can support anonymous inner class at this point (in future, maybe). This means we should check when an action or predicate is added.

Terence Yim July 29, 2015 at 7:57 PM

Do we support anonymous inner class as workflow action?

Bhooshan Mogal July 29, 2015 at 7:23 PM

So it looks like the workflow specification we send in this case has an empty value for 'programName'.

With a separate, named class:

With an anonymous inner class:

Won't Fix
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Components

Priority

Created July 29, 2015 at 7:05 PM
Updated December 9, 2020 at 8:59 PM
Resolved June 9, 2020 at 1:25 AM