How set timeout period in work flow manager?

HI,
I am using File_Exists activity in process flows.
Its working fine.
But the problem is, if the file doesnot exist, then, I want to wait from some time, and if the file doesn't create within that time, then only, it should go for the next trasition based upon its status.
In my case, it is checking whether the file exists or not. If not, it is ending up with warinings, without waiting for certain amount of time.
Could any one help me, like how to solve this problem.
I heard that, we have to set the time out period.
Any suggestions are welcome.
Thank you,
Regards,
Gowtham Sen.

Gowtham,
There is no explicit "Timeout" function that you can set.
From the 10.2 Docs:
File Exists
Use the File Exists activity to verify the existence of a file before executing the next activity. In the Activities panel, type the name of the file.
The File Exists activity checks to see if the file exists only once. If the file exists, the process flow proceeds with the success transition. If the file does not exist, the process flow precedes with the warning transition. The File Exists activity triggers the error transition only in the case of a catastrophic failure such as TCL error when using OMB Plus.
The File Exists activity has one parameter called PATH. Specify either a fully qualified filename, directory name, or a semi-colon separated list for this parameter. The paths are normally tested in the same host that is running the Control Center service.
The security constraints of the underlying operating system may disallow access to one or more files, giving the impression that they do not exist. If all the paths exist, then the activity return EXISTS. If none of the paths exist, then it returns MISSING. If some paths exist, it returns SOME_EXIST.
So, if you are only re-checking once, then I would make a warning transition out of your file exists activity and feed it into a wait activity. This you could set for as long as you need. Then transition to another File Exists activity for the second check. The transition out from this one can then pass on the status to the rest of your process flow.
If you want to do a few waits, you would need to embed this process into something like a While Loop that you can escape by using a counter that you increment via an Assign activity after each check. When your file exists is successfull you can Assign a proper exit value to escape the loop.
Cheers,
Mike

Similar Messages

  • Work flow management - SD

    Dear Friends,
    1.Can somebody throw light on Work Flow management?
    2.How is SD integrated with Work flow and what are the business processes that needs work flow in SD?
    3.Is it like a Work flow consultant is required to handle this or can we handle the workflow from SD end itself?
    Thanks
    Isaac

    Hi,
    Few points on workflow was prepared by me and screen shots are not there. You can refer
    ALE, EDI and IDOC Technologies for SAP by Arvind Nagpal
    For further detail.
    if the requirment is minimal then SD consultant can handle otherwise Workflow consultant is required.
    Introduction
    The workflow management system provides procedural automation of steps in business process. A business process can consist of several steps. Historically the tasks have been coordinated manually or by some means of communication (sticky note, email, shouting and so on). The common problem in these approaches is in efficiency; each lacks a way to trace where a task is, who executed (or executing) it, and how much time is required.
    In contrast, workflow management system ensures that the right work is sent to the right person at the right time in the right sequence with the right information. The ALE/EDI interface mainly uses workflow for exception (or error) handling.
    Application of Workflow in ALE/EDI
    Error Notification
    Error notification is the primary use of workflow. When exceptions are raised in the outbound and inbound process workflow is started and handled as shown in the below flow diagram.
    Active Monitoring
    Active monitoring allows you to specify threshold values for the state of the system. If the system crosses the threshold limit, a person responsible for the system problem can be notified. For example you can have some one notified when the number of failed invoice IDOCS in the system exceeds 50.
    Rule Based Inbound Flow
    This application of workflow in ALE/EDI does not under the category of error handling. You can set up workflow to handle processing of an inbound IDOC. Normally, an inbound IDOC starts a function module that invokes the posting program to create an application document from the IDOC.       
    In contrast, if you use a workflow, you can set up to do whatever is needed for your business process. SAP doesnu2019t provide standard workflows for the inbound ALE/EDI process, but you can develop your own workflows and tie them to the ALE/EDI process.
    For example an incoming order change IDOC can be routed via workflow to a person for review. If the change requested are acceptable the IDOC can be posted.                                                                               
    The Architecture of ALE/EDI Workflow
    The components used in ALE/EDI workflow fall into two categories:-
    u2022     PD-ORG (organizational) object
    u2022     Workflow object
    You can view and maintain these components by using the T-code SWLD (Area Menu for workflow).                    
                             PD-ORG
                                                                                    Workflow
    PD Organizational Objects
    PD ORG object is used to represent the companyu2019s organizational structure in SAP. The following are the PD ORG objects.
    u2022     Organizational Units (O)
    An Organizational Unit can represent a department, physical location, division or subsidiary.
    u2022     JOBS(C)
    A job involves performing one or more business tasks. For example, sales order clerk, secretary and manager. Although it is possible to assign individual task directly to a position, it is advisable to group tasks together in a job and to assign the job to the position.
    u2022     Position(S)
    A position in a company represents his or her rank. If an employee is promoted, that person leaves his or her current position and is assigned to another position. For example, sales order clerk plant 1000, secretary of company code 1000 and manager of accounts.
    u2022     Users (US)
    A user is a person who has been granted access to the SAP system to use various functions.
    All the above mentioned PD ORG objects can be created, changed and displayed by using following T-codes.
    u2022     PPOCE  Create mode.
    u2022     PPOME  Change mode.
    u2022     PPOSE  Display mode.
    Screen shot1.
    Work Flow Objects
    Business objects
    A business object represents a business entity that has a definite state and various properties. You can carry out various functions on the object. A business object encapsulates the entire functionality of an object. A business object is given a name in SAP.
    For instance, a standard material is assigned the name BUS1001006; it has properties such as material number, description, and material type. These properties are represented using attributes of the business object. The various operations that can be carried out on an object are implemented with methods. For example, if you want to create a material, you can call that business objects create method. An object also has different states. It exposes its various states by publishing events. For example, the material object has created event that is published whenever a new material is created.
    The T-code for Business Objects is SW01.
    Screen shot2.
    Tasks (T or TS)
    A task defines a piece of work that can be executed and tracked in the system. Technically, a task points to a method of an object as shown in the below screen shot. In addition, a task defines the text the purpose of the task, the triggering event based on which the task is started, the terminating event that marks the completion of the task, and a role that contains the rules to identify the person who is responsible for executing the task. A task can be started in response to an event triggered in the system. Tasks are categorized as
    u2022     Standard  Task
    Standard Task is provided by SAP and is client independent.
    u2022     Customer Task
    Customer Task is client dependent and is developed by customers.
    The T-code for Tasks is PFTC.
    Screen shot3.
    Roles
    Roles are workflow objects used to determine the person responsible for carrying out a specific task. Each task has a role assigned to it.
    The T-code for Roles is PFAC.
    Screen shot4.
    Work item
    A work item represents an instance of a task that needs to be executed. The work item can have various states that govern the operations allowed. The following table describes the various states of a work item and its effect on usability.
    Status      Description
    Ready     A work item is created and is visible to all selected agents.
    Reserved      A work item has been reserved by a user and disappears from all the inbox of other selected users.
    In process     A work item is being worked on and can be seen in the inbox of the user who started working on it.
    Completed      A work item is complete and cannot be seen in the inbox of any user
    The SAP INBOX
    The SAP inbox is an interface to manage workflow items and SAP office documents. The below screen shot shows a list of work items in a useru2019s inbox. The SAP inbox contains separate buckets for office documents and workflow items. Office documents are email documents and workflow items are work items. You can display and execute the work items from the inbox. The inbox is highly configurable.
    Screen shot5.
    Error Notification Process
    The error notification process comprises the following steps:-
    u2022     Determining the task to be started.
    u2022     Routing the error to a responsible agent as a work item.
    u2022     Processing of the work item by the responsible agent.
    Possible Agents versus Selected Agents versus Actual Agents
    A task has three types of agents based on rights to execute:
    u2022     Possible agents
    Possible agents represent persons who can execute a task. Not all the possible agents get a work item when a task is started.
    Possible agents are configured in the system by assigning a task to
    several HR objects (job, position, Org unit). A task can be set to
    General task, which means that it can be executed by any one.
    u2022     Selected agents
    Selected agents are the users who get a work item in their inbox. They
    are determined by role resolution logic. Selected agents must be a
    subset of possible agents. If the selected agent is not found, the work
    item is sent to all possible agents. The selected agents are configured
    in the partner profile and the IDOC administrator in T-code WE46.
    u2022     Actual agents
    The actual agent is the person who executes the work item from the inbox. A work item can have several selected agents but only one actual agent. When a selected agent executes a work item, the actual agent for the work item is established, and the work item immediately disappears from the inbox of other selected agents. However, if an actual agent realizes that he or she cannot resolve the problem, the user can replace the work item, causing it to reappear in the selected agentu2019s inboxes.
    Level of Agents in ALE/EDI process
    Level 1
    If a partner profile is located for the problem, the organizational object specified at the message level (inbound or outbound) in the partner profile is notified.
    Level 2
    If level 1 is cannot be identified because of the problem locating the record, the level 2 organizational object specified in the General View of the Partner profile is read.
    Level 3
    If neither level 1 nor level 2 can be identified, the system reads the EDICONFIG table for IDOC administrator and sends a notification.
    Processing by the Responsible Agent
    u2022     The steps necessary to fix an error for which a work item is generated are as follows.
    u2022     Execute work item to display the error. Examples of errors include problems in the control record, errors in IDOC data, and incorrect configuration.
    u2022     The cause of the problem can usually be determined from the error message. If applicable, additional error information is also available for certain type of errors (for example application errors).
    u2022     After the cause of the problem has been determined, it must be fixed outside workflow (or in some cases, within workflow). The recovery procedure depends on the nature of the problem.
    -     If the error is in the IDOC data, the IDOC can be edited and then reprocessed from workflow.
    -     If the error requires restarting the process from the beginning, the IDOC has to be marked for deletion to stop it from further processing and to clear the work item from the inbox.
    -     If the error involves an IDOC that has not been created yet, the work item merely informs the person about the error.
    Important T-codes
    T-code      Description
    SWLD      Area menu for work flow
    SBWP or SO01     Sap inbox
    SW01     Business object builder
    PFTC      Task/ Task Groups
    PFAC      Roles
    SWU3     Maintain standard settings for SAP business workflow
    PPOM     To change ORG structure
    SWUS      Start workflow(Test Environment)
    SWI15     
    SWI13     Task profile for user
    Books Referred
    ALE, EDI and IDOC Technologies for SAP by Arvind Nagpal

  • How to do release strategy work flow in MM

    how to do release strategy work flow in MM. for purchase order release how to do release strategy work flow. please give elaberate steps

    1: Install SAP - your IT support team should be able to help you with this
    2: Start the SAP Logon Pad (it is in the Start menu if you use Windows - look around)
    3: Go to transaction SPRO
    4: Navigate the structure, go to materials management, purchasing and then look around
    5: Read the documentation for each activity
    6: Perform the activities
    Seriously, you will be amazed by how much you can learn by actually making an effort.
    PS: I see you <b>expect</b> 10 points for your one-line replies, so this one should be worth at least 50.

  • Work Flow Management in SAP EHS

    Dear Friends
    Are there general requirements of work flow management in SAP EHS. Actually, i dont have much idea on this. Please guide me.
    As far as my understanding goes, i know one process where EHS manager/officer can give approval for work permit in PM. Here we might need work flow management.
    Are there such cases/scenarios where we need work flow management in EHS. Please let me know.
    Regards
    Vikram Sethi

    Hi,
    Work flow managment shall be considered part of Product life cycle Management, the important steps are are: Design, sales & production and service: which may be disaggregated into Product idea, start of production, end of production and discontinuation of product.
    In the work flow management, phases involved are product design phase, production phase, sales & transportation, service phase. Each phase has its importance starting from design to reduce waste generation to disposal mode of waste generates from the disappearence of the product.
    I hope the above info is useful to good extent and to ahead further.
    regards,
    mahesh

  • Work Flow Manager Setup

    I am unable to register Work Flow Manager with SP Sites. I have two sites (Different Site Collections). Everything is setup correctly. Here is what I am using to get SP site register but having to luck
    Register-SPWorkflowService –SPSite http://intranet –WorkflowHostUri "http://intranet.trp.com:12291" –AllowOAuthHttp
    I also tried server name.
    Register-SPWorkflowService –SPSite http://trpwfe1 –WorkflowHostUri "http://trpwfe1.trp.com:12291" –AllowOAuthHttp
    Here is the error message
    Register-SPworkflowService : The remote server returned an error: (404) Not Found.
    Windows 2012 Server x64, SharePoint 2013, SQL 2012

    Still no luck. I did not do #3 as I would like to keep Workflow Manager on WFE server. I look at the log file and here is what it show
    Attempting to download security token service json metadata from 'http://servername:12291/$System/$Metadata/json/1'. e1dd5b96-9219-4d44-9ae9-75b658c8be48
    12/25/2013 09:55:09.89  PowerShell.exe (0x2060)                  0x1C4C SharePoint Foundation          Application Authentication   
     afroo Unexpected An error occurred while downloading and parsing the json metadata document.  Exception: System.Net.WebException: The remote server returned an error: (404) Not Found.     at System.Net.WebClient.DownloadDataInternal(Uri
    address, WebRequest& request)     at System.Net.WebClient.DownloadData(Uri address)     at Microsoft.SharePoint.Administration.SPSecurityTokenServiceJsonMetadataClient.DownloadMetadata(Uri metadataEndpointUri) e1dd5b96-9219-4d44-9ae9-75b658c8be48
    12/25/2013 09:55:09.89  PowerShell.exe (0x2060)                  0x1C4C SharePoint Foundation          PowerShell                   
     6tf2 High     System.Net.WebException: The remote server returned an error: (404) Not Found.     at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)     at
    System.Net.WebClient.DownloadData(Uri address)     at Microsoft.SharePoint.Administration.SPSecurityTokenServiceJsonMetadataClient.DownloadMetadata(Uri metadataEndpointUri)     at Microsoft.SharePoint.Administration.Claims.SPTrustedProviderBase.UpdateFromMetadataFeed(Boolean
    isFirstTime)     at Microsoft.SharePoint.Administration.Claims.SPTrustedProviderBase..ctor(SPPersistedObject parent, String name, String description, X509Certificate2 certificate, Uri metadataEndPoint, SPSecurityTokenServiceJsonMetadataDocument
    metadataDocument)     at Microsoft.SharePoint.Administration.Claims.SPTrustedProviderBase..ctor(SPPersistedObj... e1dd5b96-9219-4d44-9ae9-75b658c8be48

  • Advanced Work flow Management

    We have purchased the Oracle Collaborative Suite and the Oracle 9i AS portal. The OCS features show that it has a work flow module included in it. Is there an Adavanced Workflow management module available separately or is itincluded in the OCS?

    Hi,
    At present we have Portal 10G (9.0.4.1). We are looking for OCS with very good work flow management capabilities. Very simliar to your requirements. Appreciate if you can share your experience with this combination.
    Thanks,
    Vijay

  • How to set active version for work flow

    hi ppl,
              I have 3 versions of my work flow i want to set the second version to be the active version how do i do this ? . plz help me out.

    WF builder choose your second verion & choose <i>Workflow -> Activation -> Generate and Activate runtime version.</i>
    This will make it second version as active verion.
    <b>*Reward each useful answer</b>
    Raja T

  • Notification Processing - Work flow Management

    Hello friends,
    My requirement is - When ever a notification is created it needs to be automatically displayed in the Inbox of 'Person/User Responsible'.
    Which settings needs to be done to activate this work flow?
    Regards,
    Narendra

    SAP Standard workflow needs to be activated for the Notification Creation EVENT

  • Work flow Management

    Hi,
        I want to create workflow for the documents created like notification creation, order creation, etc., What are the steps to create. As I am fresher to create work flow, kindly clarify me in detail with the step by step procedure,
    Regards,
    Maheswaran.

    Thanks,
    Forgot to add SAP Help..
    You may get a better response from the [Workflow|SAP Business Workflow; forum
    PeteA

  • How to set TimeOut period in Portal

    Hi,
    I am running a report in the portal which is taking more than 1 min to display the results. After this one min the page is getting timedout. Can any one please let me know how to administrate the timeout interval. I found this link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/60b54066ea8531e10000000a1550b0/frameset.htm
    but where in the portalapp.xml should I set the parameter "com.sap.portal.page.PageTimeout".
    Thanks,
    Sudhir

    Hi Sudhir
    This link will help you:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/60b54066ea8531e10000000a1550b0/frameset.htm
    Maybe you could consider changing the page properties to increase the cache validity.
    Check the following thread for more details:
    iView Session Timeout
    Cheers.
    Please award points for helpful answers.

  • How set timeout in a EJB remote lookup?

    Hello,
    how can I set the timeout of a remote lookup?
    InitialContext ctx = new InitialContext();
    EJB2Remote ejb2RemoteWithLookup = (EJB2Remote)ctx.lookup("java:comp/env/ejb/EJB2");
    If EJB2 is a bean that reside on a remote server and that server isn't reachable, the lookup fails after about 30-40 seconds. It's possible to set the timeout to 5 seconds?
    I use SJSAS 9.
    Thank you,
    Luca

    Hi Luca,
    We don't define a way to control this in the current implementation. There has been
    an enhancement request filed for this issue. The overall usability when the server
    is not available and a lookup is attempted needs to be improved. You can find additional
    information here :
    https://glassfish.dev.java.net/issues/show_bug.cgi?id=1026
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Libraries work flow managed referenced

    I'm a photographer and reaching a library that is pushing 1T. I don't see a performance isue as much as the backups I run are painful - even the vaults. I back on two other network drives as well, so I could be out of commision for a day.
    What are the pros doing out there ? Are you using referenced or masters ? Do you keep one big library or smaller contextual libs and why ? Are there any really good tutorials on heavy workflow? I have decided to use three different managed libraries, one for Archival, Current, and Professional. I can then run Vaults on all three seperatly on an external drive.
    I am curious about other folks experience and the workflows they've settled on //
    JJ

    IMO
    • Multiple Libraries are self-defeating to the concept of an images database because they prevent global searches like keyword searches. Only for very specific and unusual reasons (like specific-client security of some kind) should there be more than one Library. Creating multiple Libraries for organizational or drive space purposes is misguided thinking.
    • Large Managed Libraries are a bad idea for the reasons you are experiencing. They can be done well, but only by true mass storage experts with sophsticated large-drives setups.
    • The Library on an internal drive with Masters/originals referenced on external drives is preferable for all but a small Library.
    From a previous post of mine:
    The Library with its Previews lives on the internal drive and is always accessible. Masters live on external drives. The Library is backed up via Vaults and originals are backed up to redundant locations using the Finder before import into Aperture.
    Personally I have images managed on the internal SSD until editing is complete then convert to Referenced-Masters.
    Database Physics
    Aperture is designed to bite into small chunks at a time, so TBs of data do not bother the app itself. However, handling super-large batches of data like 1.5 TB on consumer hardware tends to be problematic.
    Slower speeds seem to exacerbate handling large data chunks.
    IMO referenced Masters make far more sense than building huge managed-Masters Libraries. With referenced Masters one has no need to copy a 1.5 TB sized file. A I find that even (2011 MBP) copying 5-15 GB-sized batches of RAW/JPEG files copying fails with some frequency, enough so that I always verify the copy. Failures copying 1500 GB to a drive as a single file should be expected based on my experience.
    • Hard disk speed. Drives slow as they fill so making a drive more full (which managed Masters always does) will slow down drive operation.
    • Database size. Larger databases are by definition more prone to "issues" than smaller databases are.
    • Vaults. Larger Library means larger Vaults, and Vaults are an incremental repetitive backup process, so again larger Vaults are by definition more prone to "issues" than smaller Vaults are. One-time backup of Referenced Masters (each file small, unlike a huge managed-Masters DB) is neither incremental nor ongoing; which is by definition a more stable process.
    Managed-Masters Libraries can work, but they cannot avoid the basic database physics.
    Note that whether managed or referenced, original images should be separately backed up prior to import into Aperture or any other images management application. IMO after backing up each batch of original images importing that batch into Aperture as a new Project by reference makes by far the most sense. Building a huge managed Library or splitting into multiple smaller Libraries is less logical.
    HTH
    -Allen

  • How to find out the work flow

    Hi all,
    Currently we have one application which is developed in Jheadstart10g, and Jdev10.1.2.
    Can anybody explain , how to findout the flow of an application?
    how to see the java code ?
    In advanced search it is using searchbean how to see the code .
    I want to add new Uix component in my uix form how t o add it .
    How to bind values to that component .
    What are the files and properties I need to update .
    Thanks and Regards,
    V.Nagavalli.

    I suggest you start with reading the JHeadstart Developers Guide.
    You can see the java source code of JHeadstart by typing Ctrl-minus in your project and then type in the class name, for example JhsDataAction.
    Steven Davelaar,
    JHeadstart Team.

  • How do we estimate the work flow development.

    What are the different factors that are to be considered while developing a workflow.

    Very similar to any custom development projects. For example, the complexity of the customizations, the sophistication of the process flows, the number of systems which are interacted with, any other technologies that may be required to be integrated with etc etc.
    What are the different factors that are to be considered while developing a workflow.

  • Web-based Work flow management programme

    I am new to this website. I am currently doing a project on producing a web-based workflow programme. This workflow program should have functions which can make different nodes I should be also to produce arrows to link up these nodes. These nodes should provide information to the user when it is clicked. I was told to use java, java applet and javascript for this project. However, I am not familar with these programmes!!! This project is due be end of the year!! Could any kind souls briefly explain to me the method I am suppose to attempt this project. Thanks alot!!

    H E L L O !   - a JAVA book probably by Sue ???
    So you know about this then? - GOOD!
    Actually the first chapter is all about the early attempts to succeed in achieving computational result with a binary output, plus of course the history of programming perverts and people who were relatively normal once upon a while. It goes from Nigel Astley Heatherington-Smythe, who as one time assistant to Charles Babbage spent the remainder of his twilight years with the Tuareg people of North Africa, mounting camels and cackling insanely to himself whist reciting natural logarithm tables. And spanning right accross the decades to the present day 'uj' from Sweden, who seems to be suffering from a severe gender identity crisis typical of many of his forebears.
    (The second chapter is about spanking ... mostly)

Maybe you are looking for

  • Copying 2 drives to 1 for the same project

    I'm copying an external drive and have a 2nd for the same project I want to also copy (to the same external drive) and am wondering if I'll have any issues with media becoming unlinked? Anyone have any ideas? .

  • CAD in reserved state

    Hi, I have a CCX 7.0. On some PC CAD goes in resserved state for random duration (1 -2 min) after attending the call. In this duration agent is unable to receive new calls or chnage the state. Please let me know steps to resolve the issue. Regards, A

  • Looking for a laser printer that can reproduce screens below 5%

    I need to purchase a new laserprinter. Much of our work involves documents with screens in the 2-10%range. Our current printers cannot reproduce screens below 5% black andperhaps 8% Reflex or say PMS 185. These are hard copy proofs for layout and our

  • J2EE_ADMIN unable to logon to Java Stack?

    I have a NW04s system with ABAP + Java Addin. For some reason I cannot logon to the Java side using J2EE_ADMIN?  I can logon to SAPgui (ABAP) and the SDM tool, but not the Java stack or VA? In searching through the security logs I can see the followi

  • NEWBIE BUILDER NEEDS HELP

    I'm having a problem with my newly built P.C. that I hope someone can help me with. When I turn the power on,  the P.C. powers up for about 5 seconds and then there is one beep sound and then the power goes out on it. What is causing this problem and