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 at 08:27

John%20Moser's gravatar image

John Moser
62
accept rate: 0%

edited 19.11 at 08:27


Hi

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

link

answered 19.11 at 08:41

Christian%20Strebel's gravatar image

Christian St... ♦
2.9k21231
accept rate: 90%

edited 19.11 at 09:48

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
1.2k6384105

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

(19.11 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

By RSS:

Answers

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

Tags:

×2

Asked: 19.11 at 08:27

Seen: 43 times

Last updated: 19.11 at 09:48