Skip to Content

Workflow Task in Fiori with No Outcome

Greetings,

I have a leave request workflow and standard dialog task TS21500003 doesn't have any outcome. Instead container element REQ.STATUS is updated and in workflow template this element is checked to make condition outcome.

My question is how can we handle this scenario in Fiori. If we have workflow task which has outcome like Approve/Reject then we can implement BADI /IWWRK/ES_WF_WI_BEFORE_UPD_IB.

But in this case there is no outcome. I tried to implement the same BADI and put the break point but it doesn't stop there and giving below error

. Please suggest how can we update different value in container element for option "Approve" or "Reject" configured for the task in Fiori.

Regards,

Tanweer

error-fiori.png (12.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 25, 2017 at 08:39 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Dec 24, 2017 at 09:15 AM

    Greetings,

    It is stopping at method in BADI /IWWRK/ES_WF_WI_BEFORE_UPD_IB, But how to update workflow container element Req.Status inside the badi method.

    Regards,

    Tanweer

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 24, 2017 at 10:25 AM

    Hello,

    I am reading container using FM 'SAP_WAPI_READ_CONTAINER' inside the BADI method but this FM is not redaing required element _Wi_Object_ID.

    Why work item is not reading this container element??

    Regards,

    Tanweer

    Add comment
    10|10000 characters needed characters exceeded