Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix SWF_CST122 - Decision task = not general


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SWF_CST - Message Class for Workflow Customizing

  • Message number: 122

  • Message text: Decision task = not general

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message SWF_CST122 - Decision task = not general ?

    The SAP error message SWF_CST122, which states "Decision task = not general," typically occurs in the context of SAP Business Workflow when a decision task is not defined as a general task. This can lead to issues in workflow execution, particularly when the workflow is trying to route to a decision task that is not properly configured.

    Cause:

    1. Task Configuration: The decision task may not be set up as a general task in the workflow definition. General tasks are those that can be executed by any user, while non-general tasks may have restrictions based on roles or authorizations.
    2. Workflow Definition Issues: There may be issues in the workflow definition itself, such as incorrect task assignment or missing parameters.
    3. Authorization Problems: The user attempting to execute the task may not have the necessary authorizations to perform the action associated with the decision task.

    Solution:

    1. Check Task Configuration:

      • Go to the transaction code SWO1 (Business Object Builder) or SWDD (Workflow Builder).
      • Locate the decision task that is causing the error.
      • Ensure that the task is defined as a general task. You can do this by checking the task properties and ensuring that the "General Task" checkbox is selected.
    2. Review Workflow Definition:

      • Open the workflow definition in SWDD.
      • Verify that the decision task is correctly linked and that all necessary parameters are set.
      • Ensure that the workflow is activated after making any changes.
    3. Check User Authorizations:

      • Use transaction SU01 to check the user roles and authorizations.
      • Ensure that the user has the necessary permissions to execute the decision task.
    4. Testing:

      • After making the necessary changes, test the workflow to ensure that the error no longer occurs.

    Related Information:

    • Transaction Codes:

      • SWDD: Workflow Builder
      • SWO1: Business Object Builder
      • SWI1: Work Item Selection
      • SU01: User Maintenance
    • Documentation: Refer to SAP Help documentation for detailed information on workflow tasks and configurations.

    • SAP Notes: Check for any relevant SAP Notes that may address specific issues related to the SWF_CST122 error.

    If the problem persists after following these steps, it may be beneficial to consult with your SAP Basis or Workflow team for further investigation.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author