Do you have any question about this error?
Message type: E = Error
Message class: WD - Workflow definition
Message number: 378
Message text: Outcome "&" has no ID. Please define an ID.
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.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
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.
Error message extract from SAP system. Copyright SAP SE.
WD378
- Outcome "&" has no ID. Please define an ID. ?Get instant SAP help. Start your 7-day free trial now.
WD377
Indicator "Results Parameter" missing in BOR method &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WD376
Translation to language "&" is missing for step "&", output "&"
What causes this issue? The translation is missing for the specified decision alternative. According to the fallback strategy the texts have been ret...
WD379
Outcome "&" is already defined for step "&". Property ("&"<>"&").
What causes this issue? The ID &V1& of the outcome has been assigned more than once (see step &V2&). The properties (nature) of both ...
WD380
Agent & could not be found - Typing error?
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.