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

Workflow start step performs Exclusive checkout

We need to upload data to records that are in workflow and checked out by the workflow start step. Unfortunately the workflow start step performs an Exclusive checkout of the record which means that the background MDM Impor Server user cannot automatically join the checkout, the user first needs to be invited to the checkout, which needs a manual step of modifying the join permissions of the checkout, which is not what we want to do.

I have also noticed that when an existing record is checked out Exclusively the user's roles are pulled through into the permitted roles section of the join permission screen of the checkout. When a new record is checked out Exclusively the user's roles are not pulled through to the permitted roles section of the join permission screen of the checkout. This looks like a bug to me.

We are using MDM 7.1 SP08.

Please advise any workarounds to this problem. I can think of a few, but none are very elegant, e.g.:

1. Use API to invite import user to checkout before import is started (requires coding)

2. Get the user that owns the workflow to manually invite the import user (not guaranteed to remember)

3. Complete workflow and stat new wokflow without chekout before import is started.

Any advice will be appreciated.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2012 at 12:00 PM

    Hi Johann,

    Just for better understanding your records are in a workflow process (say update)and before the update workflow completes you want to update some fields through import process.

    If this is the case then its not possible in MDM as A record can only be in one workflow job at a time i.e.if you import record it will trigger Record Import Workflow which is a separate workflow job.

    Please write more about your process so can help u better.

    Regards,

    Neethu Joy

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Johann,

      I got you point.

      Its not a bug in MDM these are the constraints in MDM :(.

      To understand more read section CHECKOUT AND WORKFLOW FAILURE CONDITIONS of the import manager refernce guide.

      http://help.sap.com/saphelp_nwmdm71/helpdata/en/4b/72b8e7a42301bae10000000a42189b/MDMImportManager71.pdf

      In our lanscape we too have a scenario where we are creating/ records in MDM leaving Material Number Blank (Record Add workflow).

      But once this record with balnk Material Number is syndicated to source system we stop this workflow.

      Now from source system through change pointer we get a file immediately with material Number and MDMID.

      which we process through MDIS and trigger another workflow(Record Import)

      I guess this matches with the third option you described to start and stop workflow and trigger import.

      Regards,

      Neethu Joy

  • author's profile photo Former Member
    Former Member
    Posted on Jan 20, 2012 at 06:57 AM

    Hi Neethu,

    Taking all the facts into account I believe the problem can best be described as follows:

    When an EXISTING record is checkout out by a workflow start step, the [Launcher]'s roles are pulled through into the permitted roles section of the join permissions. This enables other users that share a role with the [Launcher] to join the checkout.

    Unfortunately when a NEW record is checked out by a workflow start step, the [Launcher]'s roles are NOT pulled through into the permitted roles section of the join permissions. This forces users to firstly be invited the checkout before they can join. This also causes the "Auto-Join" option in Import Manager to fail.

    The above does seem like a bug to me as there is a definite difference in how the checkout for new or existing records are handled by the workflow start step, regardless of the fact that the checkout is Exclusive in every case.

    I have logged a call for this with SAP and will let you know what reply I get.

    Regards,

    Johann

    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.