How to fix this error "Groovy: unexpected token:"?

1
0
-1

How to fix this error "Groovy: unexpected token:"? Please let me know how to fix this error. I can't deploy my tutorial claim management tutorial due to this error.

Comments

Submitted by romain.bioteau on Mon, 03/15/2021 - 10:00

Hi,

Can you give more details about where the error occurs ? Logs or screenshots ?

Thanks

Submitted by Phyu Mon on Mon, 03/15/2021 - 10:28

Hi,

When I deploy my application, it is said there are 3 error but they display 2 errors only, they are:

1. Element: claimInput.answer

Description: Groovy script claimInput.answer not compiling with error : Groovy:unexpected token:?

2. Element: claimInput1.answer

Description: Groovy script claimInput.answer not compiling with error : Groovy:unexpected token:?

Thanks

Submitted by romain.bioteau on Mon, 03/15/2021 - 10:38

Are you using a BDM ? Did you deploy it ?

Can you retrieve the failing script and post its content here ?

Submitted by Phyu Mon on Mon, 03/15/2021 - 10:52

Hi,

I am a new Bonita user and can I upload screenshot to display my error, where can I upload please?

Thanks

Submitted by romain.bioteau on Mon, 03/15/2021 - 11:36

You can use a service like https://imgbb.com/

Submitted by Phyu Mon on Mon, 03/15/2021 - 12:26

When I deploy, this is occured https://ibb.co/Xb95yY3.

This is detail of log https://ibb.co/gWhDBgK.

Thanks

1 answer

1
0
-1
This one is the BEST answer!

You can view the generated operations in the Execution property tab.

It looks like you have create (and re create) multiple contract from a business variables. During this operation, mapping operations are generated on the activity to bind the contract input and the business variable.

You may have some obsolete operation that need to be deleted in this section.

HTH
Romain

Comments

Submitted by Phyu Mon on Tue, 03/16/2021 - 04:15

Thank you for your answer. It is really work.

Notifications