Skip to Content

Error in Workflow : Object ZXXX method ZZZ cannot be executed

Hi Workflow experts,

We have created workflow for leave which is having Activity step to send mail. We are sending PDF also as attachment.

Workflow is running perfectly in Dev and Qty client. But its going in error on above mentioned activity step in Prd client.

Also, when we restart workitem using SWPR, error would be cleared and workitem would go to next step.

I have attached error screen shot.

Kindly help to find possibilities of error.

Thanks and Regards,

Gaurav

Capture.JPG (80.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    May 21, 2015 at 12:50 PM

    Hello

    Looks like exceptions are not handled properly in the method. Share the code for mails sending.

    Regards

    sandy

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 25, 2015 at 12:52 AM

    This error could be due to -

    • Object locking
    • Missing authorisation - Check if WF-BATCH has SAP_ALL and SAP_NEW profiles in SU01. Since work-item can be restarted with your user ID, this issue could be due to missing authorisation.
    • Exceptions not caught properly. Debug the method from SE24 using same data as in workflow instance container.


    Regards

    Sandy

    Add comment
    10|10000 characters needed characters exceeded

  • May 21, 2015 at 05:38 PM

    "See long text" means you should look at the long text for the message. In there you will find a further error message.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 24, 2015 at 05:54 PM

    Use Goto > Show Errors (or something like that) in the workflow log.

    Add comment
    10|10000 characters needed characters exceeded