Hi guys

I am trying to save business case data inside a "script step" after a user dialog and I get the following error:

Caused by: java.sql.SQLException: Integrity constraint violation - no parent SYS_FK_720 table: IWA_CASE in statement [INSERT INTO IWA_BusinessCaseData (BUSINESSDATAID, OBJECTTYPE, BUSINESSCASEID) VALUES (?, ?, ?)]

Funny thing is, if I save the same data after resp. in a user task, there is no error.

Thanks John

asked 19.11.2018 at 08:27

John%20Moser's gravatar image

John Moser
accept rate: 0%

edited 19.11.2018 at 08:27


You have first to persist your case. Just use the Case Map feature or create a task switch before your script step or set "persist task on creation" and first "Only WF users" in the start request:

Persist task on creation


answered 19.11.2018 at 08:41

Christian%20Strebel's gravatar image

Christian St... ♦
accept rate: 89%

edited 19.11.2018 at 09:48

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦

Thanks ! ... after checking "Only Wf users" and "Persist task ..." I am now able to store the bc w/o error.

(19.11.2018 at 09:04) John Moser John%20Moser's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 19.11.2018 at 08:27

Seen: 106 times

Last updated: 19.11.2018 at 09:48