Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9155

BO-FIPP

$
0
0

Hi Experts,

 

I have created a workflow to post the document after approval process.I am using FIPP.COMPLETED and FIPP.CREATED event.

 

My workflow should trigger only if both these conditions are satisfied:

     - Save as complete

     - Minimum one document attached.

 

Issue1: For save as complete I am checking the condition for completion flag = 'X' and for minimum one document attached I have created a method through which I am exporting a flag = 'X' by comparing INSTID_A of table  SRGBTBREL. The problem I am facing is once I click on save as complete in FB60 the workflow gets started and we can attach the document only when the document is parked or completed.So the condition to check the attachment is failed.I am not sure after creating an attachment will the user again clicks on save as complete or not to trigger the workflow.Please let me know how can I achieve this condition.

 

I have referred this thread for above issue - How to check attachments to a document

 

Issue2: Once the approver approves the parked document I have to post the document automatically.To achieve this I am using an standard method POST of FIPP. Posting is done successfully but the Posted by is entered as 'WF-BATCH' as it is a background processing, but I want the approver name instead of 'WF-BATCH'. I have tried creating a Post method as dialog and removed the check for background processing but when I check this in SWEL it says 'Dialog Work item got created' status is shown as 'READY'.I don't want any user interaction to post the method and I am not getting how should I make this activity as COMPLETED.How can I achieve this requirement without user interaction.

 

I have referred this thread : FIPP.COMPLETED event but still I have not achieved my requirement.

 

I am new to workflow, Please let me know the steps to be followed to resolve both this issues.

 

Awaiting for the replies.

 

Thanks & Regards,

Sonali Deshmukh


Viewing all articles
Browse latest Browse all 9155

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>