How To Fix WD378 - Outcome "&" has no ID. Please define an ID.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WD - Workflow definition

  • Message number: 378

  • Message text: Outcome "&" has no ID. Please define an ID.

  • Show details Hide details
  • What causes this issue?

    The check for an activity returned an error because no ID was defined
    for an active outcome.
    There are two use cases for the ID of the outcome:
    Use within an application callback.
    The flexible workflow allows the application in callback methods to
    respond to events. Within callback methods the program can access the
    ID of the outcome. The following callback methods allow access to the
    ID of the outcome:
    IF_SWF_FLEX_IFS_RUN_APPL~RESULT_CALLBACK
    With parameter IO_RESULT you obtain a result object, which returns the
    result using method GET_RESULT. Component
    WI_ID: ID of the workflow
    WI_TYPE: Type of the workflow (F)
    RESULT: <ZH>ID of the Outcome in the Scenario</>
    NATURE: Property (positive, negative, ...)
    ACTOR: Name of the agent
    IF_SWF_FLEX_IFS_RUN_APPL_STEP~AFTER_COMPLETION_CALLBACK
    With parameter IO_CURRENT_ACTIVITY and method
    IO_CURRENT_ACTIVITY->GET_EXECUTION_RESULTS a list of the last results
    can be retrieved. The component RESULT contains the ID of the outcome.
    The ID of the outcome is assigned in the modelling scenario by the
    application developer and should be extracted from the technical event.
    Exposure in the CDS I_WorkflowStepResult
    The CDS view I_WorkflowStepResult exposes the potential results
    (outcomes) of a step. Outcomes with no ID are not exposed. This means
    that for a completed task instance, no further information about the
    outcome (result) of the instance can be displayed.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    On the table ?Outcomes?, enter an ID and a property (positive, negative,
    neutral) for each active outcome. The IDs of an activity must be unique.
    Please note that when an ID is changed, it can lead to unwanted side
    effects, for example, the semantics of a result is changed.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WD378 - Outcome "&" has no ID. Please define an ID. ?




    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker