cancel
Showing results for 
Search instead for 
Did you mean: 

Task Outcome decison step

Former Member
0 Kudos

Hi,

I have a task in my workflow called 'view invoice' where the user can double-click on it in their inbox and it brings them to the Invoice by calling transaction 'MIR4'. The requirement is that they can then either A) Approve B) Reject or C) Cancel the item. Approve sends a workflow e-mail, reject does something else and Cancel should be the same as normal end-of file processing (i.e it stays in your inbox and you can go back in later).

To achieve this I added a User Decision after they click back in MIR4 (i.e. AFTER view invoice task is complete). The user decision gives them option A and B and by standard it also gives them option C above. The problem is when they choose option C, it's the User Decision that stays in their inbox, not the 'view invoice' task. This makes sense but from the users perspective they need to be able to go back in and see the invoice again when they decide to go back in.

My question, in a round about way, is can I give the user options A, B and C, within the TASK 'view invoice'. Ticking 'confirm end of file processing' simply gives them 2 options, 'Complete' and 'Cancel'. I need 3 options! Should I copy the standard user-decision code and past it into my 'view invoice' task AFTER the call transaction to MIR 4?

Thanks alot, any ideas would be great.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dave,

I would suggest to copy the standard user decision task(TS9002867) to another and create container elements in the task container referring to the BOR which has the default method as display invoice so that it gives a link in objects and attachments

through which you can view the invoice, also you can approve, reject etc..

Regards,

karthik

Former Member
0 Kudos

Hi Karthik,

A very good sugestion. This has me wondering if I even need the 'view invoice' task anymore? (it just opens the Invoice in MIR4). I could simply have the decision step with the attachement, which allows the user to see the Invoice.

Thanks,

Dave

Edited by: DaveJones on Oct 12, 2011 12:51 PM

Former Member
0 Kudos

From my point of view you don't need some separate "view invoice" step in your workflow. Just have the user decision with your desired outcomes and bind the business object to the task and it will display as an attachment and when you click it it will display the invoice.

Of course the most user friendly option always is to have some kind of approval application, in which the user can see the object and the buttons at the same time, but this might of course require some additional development.

Regards,

Karri

Answers (0)