cancel
Showing results for 
Search instead for 
Did you mean: 

DI API Limitation workaround required

Former Member
0 Kudos

Hi,

We have an issue with transfering an Order Document into SBO using DI when Approval Conditions are settled up in SBO.

What is the best workaround for the following documented DI SDK constraint

DI API Remark

The ApprovalTemplatesService doesn't trigger the approval process for objects that were added through the DI API.

Tnks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello

The workaround is: If you need approval for document created via DI API, you must program it to save the document as draft, and send the notification to the users using MessagesService object or Messages object (you can choose, there are some differences, but the result is the same).

Now when a document in draft state, and the user will issue it from draft to normal document, the system will join into the approval procedure.

Regards

János

Former Member
0 Kudos

Great... Tnks, we will do it that way!

Answers (0)