Workflow Background processing.

Hi all,
Actually my client's requirement is: in Asset master once the Insurance expiry date is reached, automatically a mail shud be sent to concerned person.
Now how to do this?
One solution might be triggering WF once the Asset is created and then putting the Insurance expiry date thru expression in the Latest end of an Activity an when reached - Sending Mail. But as this has to be done automatically hence the task has to be a background task. Is this possible or is there any better way out.
Kindly suggest fast.
Regards,
Sudipto.

Your best option is to write a simple report that runs in background everyday to scan the Asset Master and send the mails. You could group the assets by recipient in one mail. No reason to burden the WF system.
Your solution will work (using requested start rather than latest end)once after the first expiry date is reached. What happens after the insurance is renewed and expires again?
BTW, is your previous post below resolved?
Re: Workflow Problem.
Cheers,
Ramki Maley.

Similar Messages

  • When running the workflow background process for drop shipment order, sale order line's status gets automtically closed instead of awaiting shipping

    Hello friends,
    I am created a drop shipment order with all the setups done . now i have booked the sale order as source type external. but when i run the workflow background process , after completing the report when i check the sale order line status it changes to "closed" instead of "awaiting shipping".
    Plz guide me if i have missed something in the setups.
    thanks,
    Sachin

    Hi Sachin,
    pls check the below notes from MOS
    Drop Ship Sales Order Cycle In Order Management (Doc ID 749139.1)
    Vision Demo - How To Create A Drop Ship Sales Order/Purchase Order (Doc ID 1060343.1)
    Thanks
    -Arif.

  • Calling Workflow background process' explicitly in pl/sql code

    Hi All,
    We have a requirement where we have to call the 'Workflow background process' explicitly in pl/sql code.
    What we want is that we are having some request that runs via a concurrent program, but before that request completes we want to put that on wait and run the 'Workflow background process' explicitly in the code itself (user need not go and manually run it).
    Can anyone please advice me how do I do this in a PL/SQL code that is called via a concurrent program.
    Regards,
    Shruti

    Pl post details of OS, database and EBS versions.
    One option is to use the FND_SUBMIT API
    Most Commonly Used FND APIs in APPS Customizations [ID 221549.1]
    Sample Code to Call Customer Interface RACUST Program using FND_SUBMIT Api in 11i and R12 [ID 429278.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_SUBMIT&objID=c3&dateRange=all&userID=&numResults=15
    HTH
    Srini

  • How to use Workflow Background Engine in Oracle Apps?

    I have created the development of a custom workflow,tested it in Developer studio in Workflow administrator and has been working correctly. I was hoping to implement this workflow using Workflow background process Concurrent request and move to production.Unfortunately when submititng the concurrent request I am not receiving any notification eventhough all the time Concurrent request always completes normal.(Also when submitting as concurrent request workflow is not prompting for the itemkey). Is it not possible to implement a workflow in the application using background concurrent process? Any help is appreciated.

    Please note that Workflow Background engine is used to process workflows that are in deferred status. It is not used to launch the workflow. You will have to write your own code to launch the Workflow using one of the following methods.
    1. Use WF_ENGINE.CreateProcess and WF_ENGINE.LaunchProcess APIs.
    2. Register a Business Event, create a subscription to the event to launch the workflow and raise the Business Event from your code.
    Workflow Background Engine has parameters such as Itemtype, Min and Max Thresholds, Process Deferred, Process Timeout and Process Stuck... which basically determine the type of background work it has to do.
    Please refer to Workflow Developer Guide on how to launch Workflows and the uses of Workflow Background Engine.
    Thanks
    Vijay

  • Workflow background engine in Oracle inventory responsibility

    12.0.6
    we have scheduled Po approval and requisition in workflow backgraound engine to run every 5 mins which routes our Po`s and Req
    But Workflow background engine has more than 100 item types
    what are they all used for..its requests doesnt even have any output
    Can someone please explain to me abt it and refer a document too
    Thanks alot

    >
    what you mean by this
    We run Po approval and Requisition item types as its needed
    Do you mean that we should run all more than 100 item types regularly or what?
    Can you please refer me a document for it for my understanding
    You are supposed to run the workflow background process for all item types (i.e do not pick a specific item type in the concurrent program submission window). Pl see these MOS Docs
    466535.1 - How to Resolve the Most Common Workflow Background Engine Problems
    266614.1 - Troubleshooting Workflow Issues in Applications 11i

  • Workflow not working in Background Processing

    Hi All,
    I am relatively new to Workflow.  Currently, I am creating Deliveries (preferably in background) once a Sales Order is created.  I am using an ABAP Class as the object method to submit the sales order number to the delivery processing method (which just submits basic information to standard SAP transaction VL04).  I found that if the execution of the delivery creation task is not in Background Processing (the user manually kicks off the Delivery creation in SBWP) the workflow works as expected and creates the deliveries.  However, if the Background Processing is checked, the workflow does not process and does not create a delivery.  Is there any specific reason as to why the workflow will not work in background?
    Any help you can give would be greatly appreciated.  Thanks.
    John

    Hi,
    John
    See to process a Back ground task, there should be a proper parameter flow.
    Please look at the import parameters in the method you are using to process the back ground task..
    If proper import parameters are passed then the task will work
    This should help..
    Thanks,
    Shanky

  • Altering Workflow background engine process frequency

    Hi All,
    I would like to know how to increase/lower the frequency of workflow background engine in OCS. Currently it s set to 60 secs.
    Thanks in advance!
    Hetal

    Workflow (Oracle Workflow) background engine's frequency can be changed by updating / creating a new job with the SQL command wf_engine.background() in the Workflow user (owf_mgr) schema.
    Ravikiran

  • Workflow Agent Listener and Workflow Background Engine

    Hi all,
    I try to update roles via User Management responsibility but when applying them it throws the following warning: "Updates to Role data will not be visible in the application until the following processes are started : Workflow Agent Listener and Workflow Background Engine". So, my question is via which responsibility i can submit those requests and is there anything else i should know before creating, update roles and assigning permissions to them?
    Thanks in advance,
    Alexander.

    I checked the requests and i found that Workflow Background Engine completed successful. Only Open Period Balance finished with error but is it possible this to be the reason of the given warning? I believe not.
    And pls kindly explain what exactly means "you may need to log a SR."? Create a Service Request (SR) in My Oracle Support website so you get a help from Oracle Support Engineer (assuming you have a valid CSI number and MOS account) -- https://support.oracle.com
    Thanks,
    Hussein

  • Starting Workflow Background Engine

    When grant a role to a user in E-BS using "User Managment responsibility", I get this waring
    Updates to Role data will not be visible in the application until the following processes are started : Workflow Background Engine
    1. How does one start Workflow Background Engine?
    2. Will bouncing the server going to give that role to the user?
    regards, Yora

    Updates to Role data will not be visible in the application until the following processes are started : Workflow Background Engine
    1. How does one start Workflow Background Engine?Please see this thread for the same issue -- Workflow Agent Listener and Workflow Background Engine
    2. Will bouncing the server going to give that role to the user?Yes.
    Thanks,
    Hussein

  • Background Process Error

    Folks, running V8.0.5 on an NT 4 Server. Database won't start,
    usual ORA-3113 issued. Turns out when I check the trace files
    that Checkpoint process is falling over with a 210 error. As
    this is an error associated with a background process I cannot
    find any documentation that will give me a clue as to why it is
    falling over. Grateful for any help. Enclosed is a sample of the
    SIDCKPT.LOG file
    *** SESSION ID:(4.1) 2001.10.05.08.41.20.453
    error 210 detected in background process
    Dump file D:\orant\RDBMS80\trace\we99CKPT.TRC
    Fri Oct 05 09:00:54 2001
    ORACLE V8.0.5.0.0 - Production vsnsta=0
    vsnsql=c vsnxtr=3
    Windows NT V4.0, OS V5.101, CPU type 586
    Oracle8 Enterprise Edition Release 8.0.5.0.0 - Production
    PL/SQL Release 8.0.5.0.0 - Production
    Windows NT V4.0, OS V5.101, CPU type 586
    Instance name: we99
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 5
    pid: 1c4
    End of Message

    Hi,
    Response as per your similar question on 12th July:
    Check the value of distributed_lock_timeout database parameter.
    If the parameter is not set, it will default to 60 seconds. Try increasing this value to at least 120 and retry.
    If the solution above does not work, one of the first places to look when assessing problems with the engine is the
    Oracle Workflow Monitor. Where this is unavailable, run the script wfstatus.sql
    $FND_TOP/sql/wfstatus.sql - Embedded in Oracle Applications
    $ORACLE_HOME/admin/sql/wfstatus.sql - Oracle Workflow Standalone

  • GUI_DOWNLOAD and background processing

    Hello,
    I have created a process which creates a file. this process uses GUI_DOWNLOAD to put the file on the users C drive or other directory on our network. The user wants to run this process in background and the program is returning a 6  (error unknown) from the GUI_DOWNLOAD FM. I was looking on SDN and found out the GUI_DOWNLOAD only works in foreground. You have to use OPEN and CLOSE DATASET statements to process in background. I am thinking about putting a button to denote foreground/background processing and using the appropriate statements to process the file. I will then have to get the file from the app server to a place will the user can get access to it.
    <b>first question</b> - is there a FM to do a FTP from the app server to a directory on our network for the user to access?
    <b>second question</b> - is this the right approach or is there something else that I should be doing.
    thanks in advance for your help

    Hi,
    Yes, your right, GUI_DOWNLOAD wil not work in background mode, you need to place the file in Application server, here.
    See the below link for a FTP program, use the proper commands(i do not know whether downloading the file is possible through the commands)
    http://www.sap-img.com/ab003.htm
    or else, write a small program which downloads the data from the application server, but it should run in the foreground
    Regards
    Sudheer

  • The request could not be submitted for background processing.

    Post Author: Chriss
    CA Forum: Administration
    It's an BOE XI SR2, on Win2k3 server, with a print cluster with two print spools, handling 3000+ printers. I discovered this error to be intermittent and only on one of the spools. It turned out that the only common factor was an HP4250 print driver. I backed all the 4250s down to 4200 drivers and the intermitent error ("Error in File. The request could not be submitted for background processing.") went from about 100 a day to zero. The other spool had a different version of the HP4250 driver and would on rare occassion cause this error, "Error in File ... Page header or footer longer than a page." but never the background processing error.
    For reference, when I got this error in XI R1, this was the solution for 'the error with one name and many causes':The error "The request could not be submitted for background processing" can be related to a corrupt or wrong versioned crpe32.dll in the Crystal bin folder. Renaming to crpe32.dll_bak and using the repair command in the the "Add/Remove Programs" tool in the "Control Panel" will reinstall the correct dll. Then restart the Crystal services.

    Post Author: krishna.moorthi
    CA Forum: Administration
    For Crystal reports :
    Error : "The request could not be submitted for background processing"
    I think,this was not related to a corrupt or wrong versioned crpe32.dll.
    but the below mentioned is one of the reason for getting this error.
    I got the error when the main report(crystalreports10) having more than 2 subreports not assigned proper tables for the subreports.
    Example: (this code raise the abone mentioned error.)
    rpt.SetDataSource(Exdataset);
    rpt.Subreports&#91;"subreportname1"&#93;.SetDataSource(Exdataset); // Exdatatset.Tables&#91;1&#93;
    rpt.Subreports&#91;"subreportname2"&#93;.SetDataSource(Exdataset);// Exdatatset.Tables&#91;2&#93;

  • How to Create Excel File in Background processing with different colors

    HI All
    I am trying to create Excel file in background & send it to user through e-mail, this i could acheive using fucntion module SO_DOCUMENT_SEND_API1, but here my requirement is i want to put different colors to columns of excel & this should happen in Background processing,
    Initially i completed above requirement by using HTML type of document with attachment type 'ALI'  & formatted output using write statement & used colors, after that i took this o/p using save_list function module & then table compress...etc.
    but i don't know how to achieve same if we need o/p in excel as size of object of excel file is less than that of HTML
    I am thankfull to everybody who will help me.
    Regards
    Lokesh

    Lokesh,
    Iam also trying to populate my text file with colors as an attachment . If you know this please let me know.

  • Data of alv report in  excel file in background processing using open datas

    Hi Experts,
    I have developed report for purchase register . if i execute this report in background process i am not able to get the downloaded file in excel and output is also not coming properly, columns are going to overlap.
    i used open dataset  read dataset and close dataset but still problem is not solved. so if anyone have code with this and also which will have concatenate statement in the code send it.
    Regards,
    Rahul

    Hi Rahul,
    Ur code shud be like below:
    DATA : l_filename2 TYPE string,
                v_extn.
        SPLIT p_filename AT '.xls' INTO l_filename2  v_extn.
        CONCATENATE l_filename2  'downloaded'  INTO l_filename2  SEPARATED BY '_'.
        CONCATENATE l_filename2  'txt'   INTO l_filename2 SEPARATED BY '.'.
        OPEN DATASET l_filename2 IN TEXT MODE FOR OUTPUT ENCODING DEFAULT.
        IF sy-subrc <> 0.
          MESSAGE e499(sy) WITH text-e02.
        ENDIF.
        LOOP AT it_order_number INTO wa_order_number.
          TRANSFER wa_order_number TO l_filename2.
        ENDLOOP.
        CLOSE DATASET l_filename2.
    Now, go to tcode AL11 and check it in the Application server itself.
    Hope this helps,
    Regards,
    Arnab.

  • Crystal Reports VS 2008 "The request could not be submitted for background processing"

    Hi,
    I am going to try to explain this issue the best I can. Please let me know if you need any other information or have any ideas as I have exhausted my resources. We have an ASP.NET application that has highly formatted crystal reports in them that the users can export as PDFs. All reports export without a problem when the application is run off of our desktops. The reports use a sql server authenticated user, executing stored procedures, and each subreport is linked by the main parameter. We are using Visual Studio 2008 version 3.5 SP1 with Crystal Reports Basic for Visual Studio 2008 on Windows 7 Enterprise SP1. We have designed the reports in Crystal Reports XI Release 2 (11.5.12.1838) and imported them into the ASP.NET application. When trying to export the reports as PDFs from the development or production servers, we get the error message below for some, not all, reports:
    System.Runtime.InteropServices.COMException (0x800002AD):  Error in File C:\Windows\TEMP\KeyAccountProfile {9FA5C095-77A2-425D-AC6B-8BB66B435336}.rpt: The request could not be submitted for background processing.     at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)     at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
    We have cleared the temp directory on the servers before exporting and are still receiving the error. We have installed Crystal Reports Basic Runtime for Visual Studio (10.5.2.0) on both servers. I have identified the underlying issue to one stored procedure/subreport that is causing the report to fail. The weird thing is, when we change the connection to point to development, the stored procedure/subreport runs fine for the report that generates an error when run from production, and the data is the exact same. I have tried rebuilding the subreport but the error still appears even though it runs fine for other reports.
    I have been through the document below, and othe similar issues in the forums, but still have not found a resolution. I was trying to use the "modules" application put since this is an ASP.NET application I am unsure of which executable I should be looking at.
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33?QuickLink=index&overridelayout=true&36837934524320
    Thanks in advance for your assistance,
    Brad Hood
    06-26-14
    OK.. I did some more investigating on this today. I have found out when I move the sub report that generates the error under another sub report, the sub report in question runs without issue. But when I try and move the sub report that produces the error above any other sub report, the error still generates. Can this get any weirder.... FYI.. there is a total of ten sub reports on this report.

    Hi Brad
    I'm not sure that Modules would show us anything in this case, so let's try a few other things:
    1) Make sure you are using SP 1 for Crystal Reports Basic Runtime for Visual Studio:
    Crystal Reports for VS 2005 and VS 2008 Updates & Runtime Downloads
    2) Seeing as this works on dev, this may be some db inconsistency so enabling the report option "Verify on 1st Print" will be a good idea.
    3) Double check the database client and make sure the same client is used on dev and deployed systems. Actually I take back my Modules negative as this is where it may prove useful. Once you have the Modules logs, look at who is loading the crpe32.dll, then look at that process and see the client dlls.
    4) Check the printer driver; see if there are any updates. Try a different printer driver.
    Ten subreports is not too bad, though not that good either as you are loading the report engine with at minimum 11 simultaneous reports (each subreport is considered to be a report). If a subreport is in a details section and the details section returns a 100 records, you are running 100 + 1 reports. This may lead to memory issues, which may lead to the error.
    If I was a betting man, I'd put most of my money on the printer driver (based on your last addition to your post). What ever money I had left would go to some database issue (be it actual data or client related).
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for