Skip to Content
author's profile photo Former Member
Former Member

DI API Limitation workaround required

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!

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 28, 2010 at 11:06 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.