Workflow in the BAckground

i have a custom workflow which throws a form and when "Launch" button is hit it starts executing. This gives you a result page which is populated as the workflows process occurs.
I need to do something similar to the "Launch bulk Actions" in the accounts menu... to display the result page with a link to the task result, rather than waiting for the result to populate.
Can anyone please let me know how can i set my custom workflow to process in the backgound and not throw the esults immedietly, only when required.,
The functionality am looking is exactly like the LAUNCH BULK ACTIONS" which throws a link - "click here to view the task results" and a OK button.
input from you guys of any sort is appreciated.
Thanks
NSankar

Prashanth -
That document is more how to run CAD in a thin client environment where an agent will be running the instance and taking calls.  What I am looking for is to run the CSD unmonitored with a workflow set up to send out e-mails when there are so many calls waiting in a queue.  My specific issue is if the Virtual workstion is restarted, I want to automatically start the CSD and log in.
I opened a TAC case and they said I would not be able to do that.
So I will still create a VM PC running CSD.  We will just have to manually check from time to time (or some other way) to make sure that the "fake" supervisor is logged in.
I know that anybody else running the supervisor would see this "fake" supervisor so that is one way to confirm.
Thanks
/alan

Similar Messages

  • Error in the workflow which executes background synchronous webservice task

    Hi,
    I am very new to SAP Workflows. I created a workflow with one activity step in it. The activity step actually executes a task TS77000300 (synchronous calculation - its an SAP task). When I test it. I get an error "Error when starting the service" with exception 8987, area SWF_HTTP and message 125 - Object WEBSERVICE method PROCESSBATCH cannot be executed.
    I checked in WF_EXTSRV tcode, there is an entry for the background synchronous webservice task.
    I checked in SWLWPTSSID table, there is an mapping between task-id and service id from WF_EXT SRV.
    I am not sure where its going wrong. Any help resolving this issue is appreciated. Thanks a lot.
    Regards,
    Raja

    Gurprit/All
    Thanks Gurprit for the direction.
    Even if I execute the the workflow( WS77000647 from SAP). The first step invokes Process Dialog which asks for three numbers and two operands. When I input all the input params and click calculate button, the second step which is actually the background synchronous task, results in the same error in the workflow log and in the Process Dialog page browser it says "Entries sent for calculation" with the same input screen.
    Am I missing anything here to run background synchronous task? Any help regarding this is appreciated.
    Thanks & Regards,
    Raja

  • Bad workflow ? :-( document is still being processed in the background  :-(

    Hi guys,
    I have activated workflow without approval for PO's (saved & changed: WS14000075).
    Everything was working fine.. BUT.. For some reason, now some PO documents have the status "Waiting Approval", and if I try to edit them,I got the following message: "document is still being processed in the background"
    How can I fix this ?
    Thanks for your help guys !
    Best regards,
    Diego

    Hello Diego,
    I've already seen this kind of pb.
    You should navigate to the admin workflow runtime (menu swld) then administration --> workflow runtime, there is some usefull transactions.
    First check the customizing (SWU3) and ensure that workflow runtime is ok.
    Then try to restart wi in error (SWPR and/or SWPC) and check RFC transactions (SWU2).
    Rgds,
    Pierre

  • Does the background task support BDC program in Workflow?

    Hi Gurus,
    Environment:
    ECC 6.0
    WAS 640
    I've configured a task using Class method, in which a BDC program is called.
    When the task is set as background, it doesn't work. The workflow is suspended at this step.
    However,  when i unselected background option, it was all ok. The workitem is displayed in the mailbox, and can be executed through the mail box.
    The BDC mode is as follows,
      opt-dismode =  'N' .
      opt-updmode = 'S' .    
      opt-cattmode = 'N'.   
      opt-racommit = 'X'.
      opt-nobinpt = 'X'.
    Is it that the background task does not support BDC program?
    or any other reasons?
    Thanks.

    Hi,
    BDC will work in workflow. I done in one of my Project.
    Convert the BDC into FM and call it in workflow, Otherwise, in the FM call your BDC Program and map it workflow.
    Check the binding whether the values are passing or not.
    Regards,
    Surjith

  • How can I open links from mail in the background?

    I receive a lot of digest emails with lots of links. I would like to be able to click all of the links in a given email, have Safari open those pages in the background, and then when I'm done selecting the links I can switch to Safari and read them all. It's a logical workflow for me: click all the links you want to read, THEN go read them.
    But instead, every single time I click on a link it jumps to Safari, so I have to switch back to Mail, click on the next link (which again jumps to Safari), etc. NetNewsWire allows me to open all my links in the background so I can avoid all this switching back and forth--can Mail do the same thing?
    Thanks in advance for any help ...
    --Bill

    You should be able to Command-click on the link in Mail and have it open in the background.
    Mulder

  • Running Workflow step in Background & code inside doing Foreground proceing

    Hi all,
    I am extracting an attachment (file) from DMS (document management services: txn: CV02N) to the presentation server in Background Mode.  Again my Function Module is uploading the file in the forground Mode and at this point workflow is giving error about the presentation server. 
    Please can anyone help me if what am doing is wrong, and if yes then what would be the proper solution.
    Thanx in advance.  Points will be provided for sure
    Anand

    Hi Mike,
    Thank you so much for your help. 
    I will try to explain you the problem.
    The problem is I need to extract the contents of file attached to DMS, which is available only as a link, so using the BAPI_*CHECKOUTVIEW I need to download it on the presentation server so that file / attachment will be available on presentation server and then I can upload the file / attachment in SAP and will read its content in internal table.
    Now the problem is I am using above FM in a Workflow method.  Workflow is doing the processing via WF-BATCH which is a background user by default.  Now the question is
    1) How can i get the file / attachement from the link in the DMS in the background mode and again upload it in SAP in the background mode??  (I tried it but the only BAPI i found is given above, which is creating a local file based on the link in DMS)
                                                   OR
    2) How can I run / test the workflow in foreground mode(by default WF-BATCH (system) is running the workflow in background mode).  But then it is always advisable to run the workflow in background mode until an agent assignment (user interaction) is necessary.  And I guess whosoever will run workflow , it will run by system user only, which is background user.
                                                   OR
    Any other solution you can think of.

  • Contracts - 'Document still being processed in the background; try again la

    Hello,
    When trying to make adjustments to multiple contracts we are receiving the error message 'Document is still being processed in the background; try again later.'  We have tried again later to no effect.
    Ultimately, this means that these contracts (30 altogether) cannot be altered in anyway i.e. held, deleted, released, approved and it means that they just sit there.
    This also has implications when raising another contract to replace these contracts.  For example if you want to use the same vendor this will cause great confusion for our users when trying to select the correct correct to spend money against when raising purchase orders.  Often the result is the user selecting the wrong contract.
    Have you any suggestions on why this error message is appearing?
    Many Thanks,
    Sarah

    1465740 - SRM document is stuck in the approval process
    Symptom
    Workflow hangs.
    Workflow gets stuck.
    SRM document in status waiting.
    Approval process cannot continue.
    SRM document frozen in status 'awaiting approval'.
    BBP_PD 443 Document is still being processed in the background; Try again later
    BBP_ICON_TEXTS 049 No workflow started. Application error occurred                 
    Environment
    SAP Supplier Relationship Management
    Reproducing the Issue
    Create or change a document in SRM.
    Cause
    *Not possible to identify root cause without further deeper analysis
    Resolution
    Find the object guid of your SRM document via transaction BBP_PD.
    Then display the relevant workflow instance via transaction SWI6 using the following steps:
    Select BOR object type.
    Enter your object type.
    Enter your guid (or document number in the case of shopping cart) in the Key field.
    Select variant All Instances.
    Select selection period All.
    Hit execute.
    Click on icon 'Display workflow log'.
    Click on icon 'List with technical details'.
    Click on icon 'Print Log'.
    Record the date and time of the very last step in the workflow log.
    Using the date and time of the last workflow step, here are some transactions that can be used to investigate the root cause of the problem.
    SM58 - check for stuck remote function calls
    ST22 - check for system dumps
    SM13 - check for stuck update requests
    SM21 - check in the system log for anything unusual
    SWUD - run a consistency check on the workflow
    Enter the task number and hit enter e.g. 14000044
    Choose 'Test Environment' and flag 'Including parts'
    Execute
    Choose 'Consistency check for components' and flag 'Including subworkflows'
    Execute
    Red lights indicate an error in the definition.
    Header Data
    Released on  05.05.2010 09:53:08 
    Release status  Released to Customer 
    Component  SRM-EBP-WFL Workflow 
    Priority  Normal 
    Category  Problem 

  • Document is still being processed in the background

    Hi guys.
    I receive this error when wanting to Change a purchase order in SRM. The PO is already in R/3, and the user has tried to make the GR in SRM. This GR then failed in R/3 because of incorrect accounting data, so I changed this in SRM. Then the PO changed to status Awaiting Approval, but we do not use any workflow for approving POs. Plus when trying to change the PO I get the message Document is still being processed in the background; please try again later. Well, this has been there for over a week now, and I have searched both this forum and also SAP Notes, but cannot seem to find anything that helps me.
    There are no locked entries in the BBP_WFLOCK table, just as there don't seem to be anything in the RFC queues. I have checked the SC, PO and Confirmation in the BBP_PD, but no news here.
    Something that interested me though is that in BBP_PD for the PO it seems that there are 2 active versions...?
    Any other idea as to how I can "release" this Purchase order again?
    Thanks for info.
    DM

    Hi,
    Let me know the following things.
    1. Do you see any approver in the approval preview of the purchase order , you have told that you are not using any workflows , but i wanted to make sure.
    2.When do you get the message"document is still being processed in the background" ? is it when you change the purhcase order?
    3) please have a look at the workflow log using the transaction 'SWI6', use the object type as bus2200 , use purchase order GUID and then see wether the setreleased has been run for the purchase order.
    4) if the setreleased is not done , then you have to run the setreleased method for the purchase order.
    award points if usefull
    Message was edited by:
            khan voyalpad usman

  • Deferring to the Background Engine

    Hi,
    We are using standalone workflow. We have an activity that we defer to the background engine by setting the cost to be above the threshold of 50. We have submitted a DBMS_JOB which calls
    wf_engine.background(null,50,null,true,false);
    every 5 minutes. This does indeed process the deferred activity. We have a situation however where we would like to launch 4 processes each of which has a deferred activity. The background engine processes each activity sequentially whereas we would like the 4 processes to be processed at the same time. Is this possible?
    Thanks,
    Gavin

    Gavin,
    You could use the "deferred tread" function from the standard wordflow lib (WF_STANDARD) in stead of raising the costs to above 50. After this deferred thread function you can model paralel functions. If you would like to wait for all parallel processes to complete before continueing your flow you should also use the "and" function also from the standard workflow lib.
    Greetings,
    Ron

  • Run Automator in the background without status bar icon

    Hello,
    I hope this is the right place and thank you in advance for the help.
    I am trying to run an Automator App in the background without running in the status bar as it takes the focus from the current application that I am working in.  Is there a way to do this?  Some Google Fu stats that I can make some changes to the info.plist of the package contents of the application by changing the LSUIElement.  However when I follow those instructions, I am still unable to run the application in the background completely.
    For what it is worth, I am running a brand new Mac Mini with Yosemite.  Any help is greatly appreciated.  Please let me know if I need to provide any more detail.
    Cheers!

    Items from various actions such as Ask for Finder Items or Get Selected Finder Items can be passed to the Run Shell Script action. Saving the workflow as an application will run it without launching Automator.
    A file with a .php extension would be associated with whatever application created it (or a default application that can handle HTML files). A Unix Executable File isn't seen as an "application" by the system, so you will need to call it directly with your parameters.

  • Workflow problem with background

    Hi,
    working sucessfully,while i am executing workflow task (as activity in workflow) in foreground.
    but while executing in Background,it is not processing and in "Inprocess" status only.
    Please help me ASAP.
    Regards,
    Madhu. R

    HI
    Thanks for your reply.
    But the problem is not solved. Still I am facing the same problem .
    If the User name is Madhu -> Background workitem was created and Execution was also started automatically.
    But for next task User name changed to Background ID ( WF-BATCH) -> Background workitem was created ,but the not submitted for processing (execution was not started automatically) .
    Its there any restriction on WF_BATCH (OR) we need any additional authorizations/parameters to WF_BATCH to submit/Execute the Background Workitems(jobs).
    WorkLog :
    1523162         747           Update status                                                 
        Madhu                    Background work item created      01/07/2008 22:09:31              
        Madhu                    Execution started automatically     01/07/2008 22:09:31              
        Background ID       Work item processing complete     01/07/2008 22:09:31   
    1523163         742             Update Budget Distribution                                    
         Background ID      Background work item created       01/07/2008 22:09:31                                                                               
    please suggest me in this issue.

  • Can we change the user 'WF-BATCH' for the background task

    hi,
    I have a dialog step followed by a background task in the workflow.i wanted the user who processed the dialog step should be the one who has completed the workflow instead of the user 'WF-BATCH'.
    Is there any possibility? And does it logically sense from a business process point of view.
    Please do reply in this regard.
    Regards,
    Saujanya

    Hi
    If the update must be in the background then no it is not possible.  It is therefore important to weigh up the usability constraints of using a dialog task as opposed to what can be gained in terms of the business process flow and audit concerns.
    We must however remember that the object (such as FI doc or PO for example) exists within the concept of all related objects in R3, and this includes the workflow instance, change docs, and associated logs.  So the argument of just looking at the individual database record without its associated workflow instance - with its record of who actually did what, and to which object - does not give a true picture of the overall business process.
    Regards
    Gareth

  • Workflow stopped at background step

    Hi Experts,
    I have a background step in my workflow , when iam testing this workflow from SWUS the workflow is getting stopped at this background step the workflow is not going forward to next step. the workflow log shows ' task started in background'
    moreover i did't find any errors in the log for the same.and i checked SM37 there the relevent job is finished. please advice what canbe the problem?
    Thanks & Regards,
    Sarath.

    HI Sarath ,
    Just change yuor task from BAckgroung to foreground. Insert a break point in the code of the function module used in the task and execute your workflow. 
    Coz you cant debug a background task , you will never come to know wht is happening inside .
    By debugging get the problem in the code , rectify it and change the task again to the background  .
    Hope this will help.

  • How can I bring 2 photos in Creative Cloud to work on?  I would like one as a background the other I want to cut something out to put in the background.

    How can I bring in 2 photos to use in Creative Cloud to work on?  I would like one as a background and the other I would like to cut something out and put it in the background picture.  Help Please!

    Creative Cloud is not a program, it is a marketing and delivery process
    http://www.adobe.com/products/creativecloud/faq.html
    http://helpx.adobe.com/creative-cloud/help/install-apps.html to install or uninstall
    http://forums.adobe.com/community/download_install_setup/creative_cloud_faq
    What it is http://helpx.adobe.com/creative-cloud/help/creative-cloud-desktop.html
    Cloud Getting Started https://helpx.adobe.com/creative-cloud.html
    So... what is the name of the program you are using?

  • How do I find out what applications are running in the background

    I have a 2008 iMac with 2GB memory.  How do I find out what programs are running in the background?  I am going to buy a new iMac before the end of the year to replace this one.  When I looked at Activity Monitor it shows 1.8Gb used but doesn't tell all the programs running.

    open activity monitor [if it doesnt launch click winders>Activity Monitor]. then it'll show all proceses

Maybe you are looking for