Skip to Content

Document distribution workflow in error

Hi,

I have implemented Document Distribution but when I try to test this the standard workflow WS20000104 just goes into error.

To me, it looks like the first task (Create distribution order) is not totally completed even that the status for the step is Completed.

The error text from the workflow is "Error when starting a CASE branch" and furthermore I can find this error text in the details from the creation step: "Error when defining successor for node 0000000511"

Any suggestions?

Thanks,

Claus.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 19, 2012 at 12:50 PM

    Dear Claus,

    I have seen an issue just like this in another customers system and

    the problem was due to the following:

    This BOR method consists of a Boolean result parameter based

    upon which WS20000104 branches in steps 299, 346 and 469.

    But if a method has a result parameter declared on the second tab

    'Result type', the check-box 'Result parameter' on the first tab

    'General' has to be flagged as well.

    In steps 299, 346 and 469 the following object methods are used:

    - BUS1082 CREATE

    - BUS1082 CHECK

    - BUS1082 BUNDLE

    Each of these method has the result parameter declared on the second

    tab 'Result type' but the checkbox 'Result parameter' on the first tab

    'General' is not checked.

    in old release the flag "result parameter" was not important. But since

    relaese 6.xx is has to be set, if the method returns a result parameter.

    So please maintain the 'General' flag for this methods and then the

    distributions should work fine again. I hope the following steps

    and explanation could help to made the necessary changes.

    1. Start transaction SWO1 for the BUS1082 object type in change mode.

    2. Expand the Methods tree, position the cursor on the following

    methods:

    DocumentDistribOrder.Check

    DocumentDistribOrder.Bundle

    DocumentDistribOrder.Create

    3. Choose the menu path Edit -> Change Release Status -> Object Type

    Component -> To implemented.

    4. Double-click the methods.

    5. A dialog box appears with the attributes of the method.

    a) On the 'General' tab, you must select the 'Result parameter'

    indicator.

    b) Choose 'Continue' <ENTER>.

    6. Position the cursor on the method and choose the menu path Edit ->

    Change Release Status -> Object Type Component -> To released.

    7. Choose Object Type -> Generate and assign the changed object to a

    transport request.

    Afterwards I would kindly ask you to go to the SWDD

    transaction and enter the following workflow templates

    (WS20000104 and WS20000137). Go to the edit mode and activate them once

    again.

    Best regards,

    Christoph

    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.