cancel
Showing results for 
Search instead for 
Did you mean: 

Upload file in custom program and pass it to workflow

Former Member
0 Kudos

Hi, guys. Now, i have the requirment to allow user to upload file in the custom program and trigger the workflow with the attached file.

Any one has experience on this? i would like to know how to upload the file from custom program, and how to create instance of the BO "SOFM". Then, i can pass this instance to workflow.

Accepted Solutions (1)

Accepted Solutions (1)

former_member184495
Active Contributor
0 Kudos

Hi JL,

would your WF only send the mail along with the attachment to the user, or does it do any other process along with sending the attachment.

If it only sends mail and the attachment, I would suggest use FM SO_NEW_DOCUMENT_SEND_ATT_API1 (at the end of your report where it will upload and send it as attachment), instead of a WF.

Hope it helps.

Aditya

Former Member
0 Kudos

The attachment should be available on each user decistion step in the workflow.

former_member184495
Active Contributor
0 Kudos

Hi JK,

check with SOFM object, I suppose it has a method 'Attach'.

Hope it helps.

Aditya

Edited by: Aditya Varrier on Oct 13, 2008 1:30 PM

Former Member
0 Kudos

method 'Attach' is not suitable.

Answers (1)

Answers (1)

narin_nandivada3
Active Contributor
0 Kudos

HI Jrockman,

Please check the solved reply in this thread

Hope this would solve your issue.

Good luck

Narin