Next activity

In a process, one interactive activity has a conditional and an unconditional transition.
Going to which activity is decided by a business rule.
The main task is external.
After finishing the main task and before sending this activity, how to know the next activity?
Or how to write the PBL code in the commit method?
I do not want the PBL code like the following snippet.
if businessrule>200 then activity ="A"
else activity="B"

please help me!!!!!!!!!!!

Similar Messages

  • Wait for a message to proceed to the next activity in BPM Process??

    Hi,
    1. After a BPM process is initiated, is it possible to have a "Wait step" in the process ?...That is, I would like to continue to the next activity in the BPM process ONLY after I have received a certain message...
    We do have a "Wait" step in ccBPM(PI) wherein , we could wait until a certain message is received(based on correlation) and then proceed to the next step....
    Is this possible in BPM ???
    There was a query similar to this in the forum :
    Inter-Process Asynchronous Event
    (or search for "Inter-Process Asynchronous Event "  - Ingo Taraske)
    and a suggestion was provided by David Conil which I didn't quite get...
    Would be great if some one could throw more light on if this is possible in EhP1...Thanks.
    Best Regards
    Arun

    Hi Arun,
    In a nutshell, wait steps are not supported in EhP1. The workaround consists of splitting the process in two processes. In BPMN 1.1, wait steps are modeled using "Intermediate Message Events". The idea is to consider the intermediate message event as start event of the second process. The asynchronous aspect would be covered using PI.
    Best regards,
    David

  • Error in GP: The next activity is not yet available: try again later...

    I am receiving the following error in Guided Procedures:  The next activity is not yet available: try again later using the "Refresh" button.
    Here is my scenario:
    I have a Guided Procedure where all of the activities are executed by the process initiator.
    In the first step of the Guided Procedure, I run an Action called 'Read Document'.
    The Action is set up as follows:
      Callable Object for Execution:  Read Document
      Callable Object for Display:  Read Document
    Since this action doesn't do anything except display a document, I have defined the same callable object for both execution and display.  
    After the user clicks the Complete button, the Guided Procedure moves to the next step as expected.  However, if the user returns to the activity that they just completed (because maybe they want to read the document again), I receive the following error message: The next activity is not yet available: try again later using the "Refresh" button.
    What is causing this message and how can I get rid of it?
    Thanks.

    please help me!!!!!!!!!!!

  • The next activity is not yet available: try again later using the "Refresh"

    Hi .
    I am working on a resignation application which is having 2 level GP approval . After creating a resignation request by
    an Employee when reporting manager is going to approve the request  at that time I am getting this message
    The next activity is not yet available: try again later using the "Refresh" button
    Can you please suggess me why I am getting this message,and how I can resilved this problem.
    Thanks for your valuable time.
    Regards.
    Abhishekh singh
    Enteg Infotech Pvt Ltd.

    Hi Tushar.
    Thanks to help me .
    Actually my problem is the refersh message is coming after action complete in GP.
    Even after action complete the process moving correctly to the next level.
    But I am getting the Refersh Button.
    This is started after patch apply on Portal.
    currently I can see patch 17 on portal.
    Kindly help me in this regard how I can resolve this issue.
    Thanks & Regards.
    Abhishekh Singh
    Enteg Infotech Pvt Ltd.

  • Workflow not going to next activity

    Hi Experts,
    It seems like my Workflow is going into the self loop, i.e instead of proceeding to the next level it is calling first activity againa and adding same approvers.
    The systems behaviour is as below
    1. Level 1 - Prescript could add approvers successfully
    2. Level 1 Approvers received email to approve
    3. Level 1 Approver approves the request
    4 Workflow is again adding Level 1 approvers again and send emails to the same set of level 1 approvers.
    After looking at the logs, it is clear that, the flow is not going to the 'pre-script' of level 2.
    Any idea?
    Cheers
    Yogesh

    Thanks Baski,
    Yes, It was the xpdl issue. What I tried to do is, I opened the XPDL created in the together 1.1 version in the together 4.1 version. And tried to recttify some errors.
    After rectifying errors, the XPDL was looking ok in the viewer,but it seems it had some missing elements.
    Somehow I could manage to get the together 1.1 version and created the XPDL again and it stared working fine.
    Thanks
    Yogesh

  • Selecting next active email (older/newer) after deletion of an email

    In Mail using Lion, I sort my email from newest (top of the list) to oldest (bottom of list).  When I delete an email, I like the next highlighted/selected email to be the next one down (next oldest).  However, the default seems to be the next one up (or next newest).  In Outlook, there is a toggle for the direction for this action.  But, I find no way to do this in Mail and it drives me absolutely crazy.  Please help!

    There may be a simpler answer than that, but I'm not sure if it works in the current version of Mail. Try this
    hold down 'command' when you press delete. If that reverses the direction, it will stay in that direction from now on whenever you just press 'delete' on its own. In other words, it acts like a toggle for the default direction preference.

  • When i try to start firefox all i get is this message (the procedure entry point is next active contex could not be located in the dynamic link js3250.dill.)

    the massage is all i get

    Do a clean (re)install.
    Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 5.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

  • How to get activity and participant of next interactive activity

    I am trying to get the activity name and participants of the next activity of the current activity.
    How to do that?
    Should I use PAPI or PBL?

    Examples of this approach:
    select min(cloth_size_2) min_size
         , max(cloth_size_2) max_size
      from (select case when cloth_size = 'XS' then 1
                        when cloth_size = 'S' then 2
                        when cloth_size = 'M' then 3
                        when cloth_size = 'L' then 4
                        when cloth_size = 'XL' then 5
                        when cloth_size = 'XXL' then 6
                   end as cloth_size_2
              from your_table);
    <br>
    select min(cloth_size_2) min_size
         , max(cloth_size_2) max_size
      from (select decode(cloth_size
                         , 'XS', 1
                         , 'S', 2
                         , 'M', 3
                         , 'L', 4
                         , 'XL', 5
                         , 'XXL', 6) cloth_size_2
              from your_table);

  • Error FF753 Tax code 01 not appear in any G/L account item with FM Active

    Hi
    We have fund management configured for one of the company code, while creating billing document through VF01/VF02 we are  getting the Error FF753 Tax code 01 not appear in any G/L account item.
    This error however does not appear when posting directly from FI with the same tax code.
    I have tried to change the message control in which case i am getting a dump pointing to PSM-FM.
    Please advise.
    Regards
    Sandeep

    Hi:
              If you could please refer to the contents of  OSS Note 112609 - How are tax codes transferred to conditions ?
    "Symptom
    If a billing document is transferred to accounting the system displays error messages. Transferring tax codes from tax conditions into the pricing conditions and discounts does not function as expected.
    Other terms
    FF805, FF747, FF753, MWSKZ, MWSK1, tax code
    Reason and Prerequisites
    The tax condition in the SD pricing procedure contains incorrect reference steps, there are several tax conditions in the pricing procedure of which the tax codes overwrite each other or a program error exists.
    Solution
    In the accounting document for a billing document, the different G/L account line items are provided with a tax code. The tax code of the G/L accounts is transferred from the tax condition(s) of the billing document. How are the tax codes of the tax conditions transferred into the other conditions of a billing document ?
    Basically:
    The conditions of a billing document are read from top to bottom. As soon as an active tax (inactive = ' ') is read, the system transfers the tax code of this tax into the non-tax conditions as follows:
        1. The reference steps (From-step, To-step) are read (the reference steps are defined in the pricing procedure).
        2. The tax code is transferred into all conditions, for which
        the step number of the condition lies in the pricing procedure between "From-step" and "To-step",
        the condition is not inactive (exactly: the inactive flag is not equal to A (Condition exclusion), M (Inactive due to manual entry), or X (Incorrect)),
        the condition is not statistical (if it is no invoice list condition),
        the condition is no tax condition.
    After the transfer of the tax code the system searches for the next active tax. If further taxes are found, their tax code is again transferred according to the above procedure. If the reference steps of different taxes overlap, tax codes that have already been transferred are overwritten. To all non-tax conditions which in the pricing procedure stand after the last tax condition the tax code of the last active tax condition is transferred if they are not statistical.
    Special features:
        1. If the "From-step" of a tax condition refers to a subtotal of the pricing procedure, the tax code of the tax is not only transferred into the conditions with step number between From-step and To-step but into all non-tax conditions for which
        the step number of the condition in the pricing procedure is lower than the "To-step" of the tax condition.
        the condition is not statistical (if it is no invoice list condition).
        the condition is not a tax condition.
        2. If the "To-step" of the tax condition is smaller than the "From-step", then the system sets "To-step = From-step".
    Notes:
        1. As of Release 4.0 the tax code is no longer transferred in pricing but only when the billing document is released to accounting.
        2. If you use several taxes and tax codes and Customizing is incorrect for the release of billing documents to accounting, among others the system may display error message FF747.
        3. If there are several taxes in the pricing procedure refer to Notes 72173 and 82091 for Releases 3.0D - 3.1G. For Release 3.1H, only note 82091 is relevant.
        4. For conditions which are transferred into accounting (thus not statistical, not inactive conditions) and do not contain a tax code, the system searches for a default tax code which in Accounting Customizing can be set depending on the company code (tax code for non-taxable transactions). This applies to releases up to and including Release 4.5B. For Release 4.6, refer to Note 385127."
    Regards

  • User Defined Activity "hangs" Process Flow if it runs for more than 10mins

    I have been using OWB (10g r2) for a while and have used "User Defined" activities in production process flows successfully before.
    However my problem now is that the activity (shell command) I want to perform, takes more than 10 minutes to complete. If I run the process flow with a parameter that generates a shell command that executes in two or three minutes, the process flow continues past the sucessfully executed user defined activity to the next activity.
    BUT
    If I run the same process flow (without modification or even redeployment) with a different parameter , the user defined acivity sucessfully executes (after about 11 minutes or so) but the process flow , doesnt seem to know that it is finished and just says it is still executing.
    my "user defined" activity has
    COMMAND: /usr/bin/ksh
    PARAMETER_LIST bound to a variable which is set earlier in the process flow.
    RESULT_CODE:
    SCRIPT :
    SUCESS_THRESHOLD : 0
    by examining (RUNTIME CONTROL CENTER SCHEMA).all_rt_audit_execution_params
    I can see that the variable contents assigned to RESULT_CODE look like this
    '/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_SHORT'
    or this
    '/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_LONG'
    I put the -n in because I thought that may have been the problem, but I think its more likely that there is come sort of ".properties" in a runtime file that needs to be set to control the "timeout" of user defined activities.
    (like in Runtime.properties
    property.RuntimePlatform.0.NativeExecution.Shell.security_constraint = NATIVE_JAVA
    except maybe
    .........Nativeexecution.timeout = .....?????
    Has anybody had a problem like this? Found a document describing available configuration properties for PF activites?
    Can anyone help?

    I have been using OWB (10g r2) for a while and have used "User Defined" activities in production process flows successfully before.
    However my problem now is that the activity (shell command) I want to perform, takes more than 10 minutes to complete. If I run the process flow with a parameter that generates a shell command that executes in two or three minutes, the process flow continues past the sucessfully executed user defined activity to the next activity.
    BUT
    If I run the same process flow (without modification or even redeployment) with a different parameter , the user defined acivity sucessfully executes (after about 11 minutes or so) but the process flow , doesnt seem to know that it is finished and just says it is still executing.
    my "user defined" activity has
    COMMAND: /usr/bin/ksh
    PARAMETER_LIST bound to a variable which is set earlier in the process flow.
    RESULT_CODE:
    SCRIPT :
    SUCESS_THRESHOLD : 0
    by examining (RUNTIME CONTROL CENTER SCHEMA).all_rt_audit_execution_params
    I can see that the variable contents assigned to RESULT_CODE look like this
    '/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_SHORT'
    or this
    '/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_LONG'
    I put the -n in because I thought that may have been the problem, but I think its more likely that there is come sort of ".properties" in a runtime file that needs to be set to control the "timeout" of user defined activities.
    (like in Runtime.properties
    property.RuntimePlatform.0.NativeExecution.Shell.security_constraint = NATIVE_JAVA
    except maybe
    .........Nativeexecution.timeout = .....?????
    Has anybody had a problem like this? Found a document describing available configuration properties for PF activites?
    Can anyone help?

  • Interactive activity deadline without due transitions

    I need to define deadline for all interactive activities. However, I do not want to add due transitions or Connector to every interactive activity. How to set the activity deadline without due transitions?
    Or, I add a due transition / deadline to all interactive activities. If the deadline is reached to any of them, an exception will start.
    Or, if any activity is expired, it should go to a specific activity. How to do that?
    For example, a process has 2 interactive activities, named a1 and a2. The first activity has a method:
    activity as Activity
    activity=Activity("a2")
    t as Time
    t = addSeconds(activity.deadline, i : 20)
    It sets the deadline of a2. However, after it is deployed to BPM standalone 10g, when sending a1, Standalone shows error.
    Sincerely
    Edited by: YE on Jun 5, 2009 4:01 PM

    Hi Ye,
    There is a predefined variable called "deadline" you might want to consider using for this. Instead of having to add due transitions for each activity, if you set the deadline variable to some time in the future, once that time is exceeded the work item instance automatically throws an "InstanceExpiration" exception.
    1) I usually set the deadline variable in the Begin activity in the process to some time in the future. Although you can set it there, it can be changed anywhere in the process if you want the deadline to be different in the next activity. You just need to be sure to set the deadline upstream of the activity.
    2) Add an exception handler to catch the InstanceExpiration exception by:
    a) adding an orphan Interactive activity
    b) if an exception handler does not exist in the process, right mouse click anywhere in the white space of the process -> "Add an exception transition to" -> select the Interactive activity you added in the first step -> click the "Properties" tab -> select the Exception Name combo dropdown and pick "InstanceExpiration" -> click Ok and then Yes.
    c) the logic in the Interactive activity that catches the overdue instances needs at least these statements:
    // reset the deadline so another exception is not immediately thrown
    deadline = 'now' + '2d'
    // code here to do what it is that you want done (e.g. escalate the priority, send someone an email, etc.)
    // now send the instance back to the activity where the deadline expired
    action = BACK Hope this helps,
    Dan

  • Workflow container elements as attachment in an activity

    Hi @ all
    Iu2019m searching for a resolution to display a multiple attachment in an activity of my workflow.
    The scenario is as follows:
    An Activity should display the image, a generated attachment (from the User decision before) & the workflow conatainer elemnts of the included task. So far so good. The image and the attachment are displayed in the next activity, but how can I display the container elements?
    I need them because the user dynpro-inputs are stored in it. I generate the elements in my task and bind them from the workflow container. And now? What is the next step to get them in an attachment?
    THX
    REGRADS
    Phil
    Edited by: Philipp Höfer on May 18, 2010 2:09 PM

    Hi Karri,
    thanks again.
    if i understand you correctly, i'm going to my Step Task ->(n my case "Display Image"). After that to the tab -> Description and push the button "change text" to insert a new text. But how can i insert my container elemt values.
    There is a button "Program Symbol" but their is no entry. The Binding of the task and the workflow container is correctly.
    What i am doing wrong?
    THX
    Regrads
    Phil
    Edited by: Philipp Höfer on May 19, 2010 12:12 PM

  • Stat machine workflow task workflow status different values on different state activity(Approval level)

    i have developed the State machine workflow in which i am using default workflow task
    i have added one status dropdown and that is having approve or reject that i set using workflow task drop down values
    now my requirement is that when my workflow goes to different approval i need to have different status values in dropdown
    for example
    on manager approval state activity i need to add additional status value forward to legal
    but when it moved to next activity this task status field should show only approve and reject
    in summary i need to have different status values for workflow task when it moved to different state activity(approval levels)
    can we set these status field of task for state machine workflow programtically as well like for different approval level of task i need different status to be set for the dropdown of task status field
    MCTS,ITIL

    Hi Shahid Siddique,
    I have seen a similar thread from you about this issue, create custom form for the seperate form is a considerable workaround, you can have a check whether it works.
    http://social.technet.microsoft.com/Forums/en-US/9baa0c32-1cde-4c58-aa7c-3568ccf0cdc9/different-approval-level-of-task-i-need-different-status-to-be-set-for-the-dropdown-of-task-status?forum=sharepointdevelopmentprevious
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Post URL for next step in workflow

    Does any one know how IdM generates the id for the next step in a workflow?
    When you initiate a workflow IdM generates a URL similar to the following:
    http://10.84.1.155/idm/user/workItemEdit.jsp?id=%23ID%2351F4B46A5BC216A1%3ABE841C5%3A113F524AB6B%3A-7CE7&lang=en&cntry=US
    The first, second and third part of the id here references the task definition and form definition guids but we can't figure out the last 4 digits after the - (in the example above -7CE7).
    We are basically trying to go out from a workflow to a custom jsp and then come back in to the next step of the flow.

    Thanks Jim. I do have the URL in my jsp that brings me back into my workflow. But I am a bit unclear on how I can make come back into the workflow's next Activity rather than the same activity.
    1. Initiate workflow from end user menu
    2. Activity 1 --> Manual Step --> when user clicks submit posts to an external jsp (not an idm form)
    3. From the external jsp the post is back into the workflow
    Issue: step 3 comes back into the workflow but comes into #2 rather than #4 (the next activity).
    Reason: the URL that we have is made up of task def --> form def --> some 4 digit number
    We can't figure out what this 4 digit number is.
    Not sure if I understand your solution correctly, please provide details...

  • Active Sync Threshold

    Has anyone ran across a requirement to set a threshold on the number of operations (add, delete, etc) an active sync process is allowed to run before aborting the request? That is not 100% accurate. The requirement is to abort the operation that has exceeded the threshold but process the remaining operations. The threshold should also be applied prior to any of the actions actually being processed. Hence, it is an all or nothing situation.
    For instance, I want to set a threshold on the number of deletions. If during the active sync process this threshold is exceeded all deletions would be skipped but any additions or updates would still be processed. The final requirement is that an administrator would be notified of the issue and have the ability to approve/reject each of the operations.
    I have two different thoughts on how best to solve this:
    1) Use a pre-poll workflow to examine the resource and perform the threshold check. If the threshold is exceeded then a flag is set to indicate that these operations should be skipped. The active sync forms then use this flag in order to determine what to do with the request. The nice thing about this is that the administrator simply has to disable the pre-poll workflow to allow the operations to be completed. However, the solution is highly dependent on the resource type. It also requires the ability to effectively force a change on the record so that it is processed during the next active sync run.
    2) Build a workflow that defers all threshold-based operations until the end of the active sync process. Then use a post-poll workflow to perform the threshold check. If the threshold is not exceeded then the deferred tasks can be ran immediately. However, if the threshold is exceeded then a notification can be sent to an administrator. I would need to provide a server task for the administrator to either approve/reject the deferred operation.
    I think both solutions will work. I am wondering if anyone has already solved this issue or has thoughts on my two different approaches.
    Thanks,
    Pete

    What about this: keep track of the number of deletions by whatever means and set some flag when the threshold has been reached. Then, in the Delete User Workflow, check the flag and if it is set, force an approval so the operation is suspended until it is approved or rejected.

Maybe you are looking for

  • VA01 and from material view and last SO it shows wrong last sales price

    Hi, In sales order condtions the current flow is as follows: sales price PR00 - 8.36 insurance ZZC0 - 0.03 So the total value is 8.39 inr. But the client requirement is, the total value should be 8.36 only.  Insurance value should not add to the net

  • Monitor resolution for OS 8.6

    I have a Sony Trinitron multiscan 200 ES and I can not change the resolution will not change from 640 x 480. HELP

  • Configuring queue for Producer - first-available Consumer delivery

    Hello, Setting consumerFlowLimit to 1 consumerFlowThreshold to 0 doesn't appear to be enough to ensure that messages from a queue are delivered to the first available consumer. We are trying to implement a classic Producer(s) -> Consumer(s) job distr

  • Adobe Flash Player - not supported on iPad?

    I want to watch a tv programme originally shown on Channel 4 UK.  I have found the programme but when I try to access it I am told that I need Adobe flash player, which is not supported on my iPad.  I have tried iTunes but it is not available.  How c

  • Mpg from iPhoto to ipod???

    Hi, i have a few mpg movie that were taken from a digital photo camera. I put them into iPHoto, created a specific movie album called Zack camera in iPhoto and copied theses mpg into the that album. Now I went to itunes and selected that specific Zac