Workflows | Defining sub-workflows and capturing wfActions

Hi All,
I am trying to define a sub-workflow post which I want to make a jump based on the action taken in the one step sub-workflow. I tried to use the wfActions to find the action taken at a step, but the applet shows the following error:
Offset in runtime evaluation is at character 17. Could not find the parameter 'wfAction'.
I even tried to do a <$wfSet("myvar",wfAction)$> which gave the same error.
I tried to capture this action in the Update section of the script as well as in the Exit section. Has someone used this parameter, has it worked on UCM 10gR3.
Thanks in advance
- AU

Kara,
Thanks for that
Paul
"Kara Moscoe" <[email protected]> wrote:
Your sub-workflow template definition must be defined for the current
organization, must have a Start node defined as "Called", and it must
be
marked "Active" for it to display in the Start Workflow dialog.
Kara
"Paul Clements" <[email protected]> wrote in message
news:3b8e5800$[email protected]..
Hi,
I am trying to get wlpi to allow me once a workflow is completed tostart
another
different workflow. Hence I have tried on the done icon to add anaction
of type
start workflow but when the start workflow window pops up there areno
workflows
that I can start even though some exist. Can someone shed any lighton
what I
am doing wrong?
Many thanks
Paul Clements

Similar Messages

  • Defining sub workflows

    Hi,
    I am trying to get wlpi to allow me once a workflow is completed to start another
    different workflow. Hence I have tried on the done icon to add an action of type
    start workflow but when the start workflow window pops up there are no workflows
    that I can start even though some exist. Can someone shed any light on what I
    am doing wrong?
    Many thanks
    Paul Clements

    Kara,
    Thanks for that
    Paul
    "Kara Moscoe" <[email protected]> wrote:
    Your sub-workflow template definition must be defined for the current
    organization, must have a Start node defined as "Called", and it must
    be
    marked "Active" for it to display in the Start Workflow dialog.
    Kara
    "Paul Clements" <[email protected]> wrote in message
    news:3b8e5800$[email protected]..
    Hi,
    I am trying to get wlpi to allow me once a workflow is completed tostart
    another
    different workflow. Hence I have tried on the done icon to add anaction
    of type
    start workflow but when the start workflow window pops up there areno
    workflows
    that I can start even though some exist. Can someone shed any lighton
    what I
    am doing wrong?
    Many thanks
    Paul Clements

  • How to trace/debug main workflow calling sub workflow.

    Guys,
    I am calling Sub workflow from MAIN workflow.
    I am able to trace till beginning of sub workflow, with the help of workflow log.
    But, is it possible to trace/debug the sub workflow as well(in single stretch).
    Please guide with t-codes & procedures(links).......
    Regrads.
    santosh.

    Hi Santosh,
    You should be able to see the technical log for the subflow as well - but perhaps that's not what you are asking.
    First, you should always be able to 'trace' your subflows by starting them directly via SWUS.  Then you will have the log to review.
    You can also set the workflow trace on via SWU9.
    Hope this helps,
    Sue

  • Move a folder, sub-folders, and documents under that folder from one document library to another within a Workflow

    Hello,
    I'm building a workflow in SharePoint Designer 2010 (Unfortunately we are not on 13 yet), and in that workflow I need to move a folder (with all it's sub-folders and items) from one document library to another document library.
    I tried a copy item but that kept failing, I checked content type, columns, and permission and it all looks good.
    the other option I started looking into is to Create the folder in the document list and them move all the items under that folder to the new folder. However I can't figure out how to loop through each items in that folder.
    Has this issue been addressed? or does someone has a solution.
    I looked and searched and all I found was tutorials on moving single items into a folder, but not entire folders.
    Thanks
    Hani

    Why to take pain in creating a workflow that copies folders, sub-folders and all of its contents from one document library to another.
    Simply open your source and destination document library in Windows Explorer mode and start copying your folder, sub-folders and contents that you want to copy out of the box.
    You will find "Open with Explorer" button under the Library tab on the ribbon of document library.
    Please remember to click 'Mark as Answer' on the reply if it helps you

  • Missing sub-workflow versions in PO, Contract, and Bid workflows

    In SRM 5.0, the definitions for the following workflow templates are missing:
    WS14000076, WS14000085, WS79000003. 
    These are sub-workflows used by WS14000075 (PO), WS14000086 (Contract), and WS79000010 (Bid).  Any feedback will be appreciated.
    Thank You,
    Kiran

    hi,
    14000076 Wait for BUS2201 Events
    14000085 Wait for BUS2000113 Events
    79000003 Wait for BUS2202 Events
    i have checked these and are available , these are all wait events.
    you can see the details in the tranaction
    1) Transaction ---> PFTC
    2) Enter Task type ---> Workflow template
    3) In the Task Enter ---> 14000085.
    4) click Display
    you can see the details , perform the same for other two to get details

  • PO Release workflow: mail and Sub workflow/Dialog step related issue

    Dear All,
    I have crated a two step work flow for release of  purchase order with two release code X & Y.Creator C1 creates PO.A mail is trigger to X&Y .In first step  X release the PO.
    Then Notification send to C1 & Y that the Release of 1st step is effected.Then Y releases it and a mail of completions is sent to C1 .(Structure is as follows: Po creation ->Mail to XY->
    X releases(PO release)->Mail toC1 &Y->Y Releases->Mail to C1&X->Workflow complete).My workflow works fine but have following problems.
    1) System gives the three stages mail properly.But after completions also generates 2nd stage mail(Mail toC1 &Y).I have used "process control"at the end but
    still the mail reoccurs.How to control it?
    2) Two types of messages appears in the SAP business w/p of user.Sub work flow and dialog step.4 mesgs appears in the sap inbox of X & Y .2 of
    Sub work flow & 2 of Dialog step.How can i control it .Can i set 1 out of them?
    3) After completion ,work flow log shows two Graphical Workflow Log.One is completed and other up to stage ->Mail to XY-> How to clear this
    4) Organization plan is always must? or w/o that we can proceed?
    Pls Guide
    Regards
    Sachin

    Hello Rick,
    Sorry for any inconvenience caused.Intension is only to get quick focus from experts.
    I have redrafted my query .Please check
    I have crated a two step work flow for release of purchase order with two release code X & Y.Creator C1 creates PO.A mail is trigger to X&Y .(Structure is as follows: Po creation ->Mail to XY->X releases(PO release)->Mail toC1 &Y->Y Releases->Mail to C1&X->Workflow complete).My workflow works fine but have following problems.
    1) Reoccurring of 2nd stage mail.How to avoid this?At the end i  used"process control" with "outcome name=work flow completed.
    2) Two "work item type" message apeears in the out box of PO creators(sub)work flow and Dialog Step.Is this a standard or I need to correct it?
    3) After completion ,work flow log shows two Graphical Workflow Log.One is completed and other up to stage ->Mail to XY-> How to clear this
    4) Organization plan is always must? or w/o that we can proceed?
    Sachin

  • How to go back to previous step in a sub workflow?

    We are calling a sub workflow upon approval action from a main workflow. In the child workflow we have 9 steps. If at any step in the child workflow (other than first) user does reject action, the workflow control should go back to previous step in the child workflow itself.
    We added a custom action in the exit events of all the child workflow steps. Following is the logic of exit event of Step4 of child workflow. Similar logic is there for all steps in the child workflow.
    <$if wfAction and wfAction like "REJECT"$>     
         <$wfSet("wfJumpTargetStep", "Step3@childWF")$>
         <$wfSet("wfJumpEntryNotifyOff", "0")$>
    <$endif$>
    With this code when the user is doing reject action from child workflow, it is taking us back to the main workflow and not to the previous step of child workflow.
    Is this approach correct?
    -Pratap

    1. The 3 events are Entry, Update, and Exit.
    2. Rejects happen in the Update area but you can not reliably react to it there because upon reject it immediately leaves (not going through the exit event).
    3. The rejected content goes backwards in the Workflow step by step (even going back to the main workflow from a sub workflow) until it finds a Step that has valid Editors (not just reviewers).
    4. If it does not find an Editor step it goes all the way back to the automatic Contribution step at the beginning of the Workflow and sits there in a kind of no mans land until the contributor (or an admin) goes and approves it again.
    5. To check if something has been rejected the Entry Event of an editor Step BEFORE the step where it is rejected needs to have code to check for the Reject status.
    The sub workflow should be able to capture the Reject as you desire. Are all of the steps in the child workflow (sub workflow) Review only steps? Or maybe the people in the steps do not have RW access to the document? This is what I would predict with your described symptoms.

  • Sub Workflow

    Hi All,
    Wanted to know that whether agent assignment is necessary/mandatory in case of sub workflow being called from a main workflow? ( e.g. like we define possible agents by mentioning general task for a standard task)
    If it is not mandatory, in which cases we <b>must</b> specify agents for sub workflow?
    Regards,
    Akshay

    Hi Akshay,
    Agents assignment is maintained only for dialog tasks. A subworkflow however it is referenced in the main workflow needs agent assignment only for the dialog tasks. I do not think there is ever a case where you need to maintain agents for a sub workflow.
    However you need to maintain agent assignment for a workflow template if the workflow is started directly in a program and not via event linkage.
    HTH,
    Ramki Maley.
    PS: Please post WF questions in the Business Process management forum.

  • Credit Clarification workflow Contract Accounts Receivable and Payable

    Dear Experts,
    I am having the requirement of workflow in credit clarification process. I am not able to activate the workflow for this process.
    Could anyone suggest me how to activate the workflow in credit clarification.
    Thanks
    Aswin

    Hi ,
    The event 4255 is specifically provided for authorization in credit calrification .
    Here you would have to define your custom flow of document , check the same with your Abaper regarding creation of a workflow for the same and using this event you would be able to trigger the same .
    Regards ,
    Dewang T

  • Warnings on sub-workflow that appears to have completed

    Hi
    I am getting some warnings that are resulting in my Workflow falling into error, but don't know where they are coming from.  
    The Workflow log shows that the Workflow has completed the last step, so not sure what it is doing.
    The warnings are coming from executing actions u2018Result Processingu2019 and u2018CHECK_WORKFLOW_INSTANCEu2019
    The warning messages are:
    Message no. SWP027 = Flow item ??? (Workflow 000000XXXX) for work item  has the status "Error"
    Message no. SWP030 = Temporary error in result processing of work item 000000XXXX
    and after the 5 attempts by SWWERRE to continue the Workflow falls into ERROR
    It doesn't occur for ever instance of the Workflow.   It is a sub-workflow if that makes any difference.
    The entries are being logged in SWP_SUSPEN table
    SM12 showed no locks.
    When I manually restart after error, they complete.
    Any ideas where I can look?
    Thanks
    Pete

    Hello,
    A temporary error is causing this, usually it's a user locking something. The WAIT could indicate that someone was trying to avoid this. I would have a careful look at the workflow log, sometimes the error givs more clues, eg which user was doing the locking.
    As suggested above, check the method called for any exceptions marked as Temporary.
    The default is 3 retries, one every 20 mins. What was it in your case?
    regards
    Rick Bakker
    hanabi technology

  • Workflow on invoice parking and posting

    Hello,
    Can anybody guide me how to configure the workflow for invoice parking and posting in detaills?
    Thanks
    Nilesh

    hello ,
    Prerequisites
    In the Implementation Guide (IMG) for Logistics Invoice Verification, you can specify for which company code, which vendors, which invoices, and above which amount a document is subject to release. In an invoice document that is completed for posting, the amount that is subject to release is based on the gross amount. (Logistics Invoice Verification ® Document Parking ® Define Release Criteria)
    Technical Implementation (MM-IV-LIV)
    Object Types
    Object technology is used to create the interface between the ERP functions and the Workflow system. The information given below is primarily of a technical nature and is not necessary for an initial overview.
    Incoming invoice
    Object type Bus2081 (Incoming invoice)
    Workflow Template
    The actual operational procedure is implemented as a workflow template. You will find this workflow template in your ERP system.
    Workflow template: WS 20001004
    Description: Release the Completed Log. IV Document
    Triggering Event for Workflow Template
    The event for workflow template IncomingInvoice.CompletedToRelease is triggered if the parked document is complete for posting (RBKP-RBSTAT='B') and is subject to release (RBKP-RFGKZ='X').
    This coupling between the event and the workflow template to be started is deactivated in the standard system. If you want to use the workflow template, you have to activate it in Customizing for Logistics Invoice Verification.
    User Roles
    You complete parked invoices for posting and release them at the following organizational levels.
    Processor Determination: Clerk Responsible for Releasing Invoices
    If you have already maintained an organizational unit, you can use it here.
    If no organization unit is available, create an organizational unit that includes the people responsible for releasing invoice documents that are complete for posting.
    Use the organizational unit in Customizing for Logistics Invoice Verification in the activity for defining release criteria.
    Processor Determination: Clerk Responsible for Completing Invoices for Posting
    If you have already maintained an organizational unit, you can use it here.
    If no organization unit is available, create an organizational unit that includes the people responsible for completing parked invoice documents for posting.
    Link the organizational unit to the single-step task TS20000879:
    ·        By simple processor assignment
    All users in the organizational unit receive the work item.
    ·        By defining an individual role
    Only selected users in the organizational unit receive the work item.
    Authorization Objects
    You must have maintained the authorization to display invoices (activity 03, M_RECH_WRK) for users who are responsible for releasing invoices.
    You must have maintained authorization to change parked invoice documents (activity 77, M_RECH_WRK) for users who are to complete parked invoice documents for posting.
    Several other specific customizing steps are necessary for this workflow template in addition to the general customizing that is necessary to make sure that the workflow system functions properly.
    Activating Event-Receiver Linkage
    The event IncomingInvoice.CompletedToRelease (Invoice document completed for posting and subject to release) for object type BUS2081 (Incoming invoice) is an event that triggers workflow template WS 20001004 and is entered in the event linkage table as such as the standard event.
    This coupling between the event and the workflow template to be started is deactivated in the standard system. If you want to use the workflow template, you activate the linkage between the triggering event and the workflow template as receiver of the event in Customizing for Logistics Invoice Verification. (Logistics Invoice Verification ® Document Parking ® Activate Workflow Template for Release for Posting.)
    Use
    The release of invoice documents that have been completed for posting is supported by a link to a workflow procedure.
    Prerequisites
    The event IncomingInvoice.CompletedToRelease must be triggered for an invoice (BUS2081) so that a release procedure is started. We recommend implementing this workflow together with the SAP workflow template WS20001003.
    In Customizing for Logistics Invoice Verification, you maintain the activity Define Release Criteria under Document Parking.
    Features
    Release for Posting
    In the release step, the person responsible for releasing the invoice document decides if it should be released. The system uses the virtual attribute ReleaseAgent for object type BUS2081 to determine the person responsible for releasing the document. The release criteria in Customizing for Logistics Invoice Verification are checked for this.
    If the person responsible decides to release the document, it is first released in the background and then posted.
    If he or she decided to reject the document, it is forwarded for further processing to the accounts payable clerk responsible for completing invoice documents for posting. The rejection reason should have been entered using the memo function.
    Completing Invoices for Posting
    The accounts payable receives a work item in his or her inbox. In this work item, he or she can read the reason why the invoice document was rejected and change it. If the accounts payable clerk parks the changed invoice document, saves it as complete, deletes it, or posts it, the workflow ends. It makes sense to save the invoice document as complete and therefore trigger the release workflow again, assuming that the invoice document is subject to release.
    If the invoice document is parked, deleted, posted, or released in the background outside the workflow process, the workflow ends.
    regards
    venga

  • Starting many instances of a sub workflow

    Hi,
    I'm trying to create a scenario using WLPI studio wherein from a parent workflow
    task I want to start a number of instances of a sub workflow. I want that completion
    of all the sub workflow instances should lead to completion of the parent workflow
    task. How do I do this in WLPI? One way is completion of each of the sub-workflow
    generates an event which parent workflow is listening and updates some of its
    workflow. However, I was expecting that parent and sub workflow works synchronously,
    but I don't know how to configure it... Some of the newgroups mails do talk about
    this feature but as mentioned in the following reply for one such query, but in
    actual it is not behaving like that :
    "Harshad The only time workflows will actually run on parallel threads is when
    you trigger the workflows via xml events. Calling a workflow will always keep
    it on the same thread until a quiescent state is hot in the child workflow. At
    that point control is given back to the parent"

    Yes, that is possible. Let's say you have a package with AID 1122334455 which contains an applet with AID 112233445500 on your card. Now you can create two instances, for example with instance AID 11223344550001 and 11223344550002:
    => 80 E6 0C 00 1B 05 11 22 33 44 55 06 11 22 33 44    ......."3DU.."3D
        55 00 07 11 22 33 44 55 00 01 01 00 02 C9 00 00    U..."3DU........
        00                                                 .
    (30 msec)
    <= 00 90 00                                           ...
    => 80 E6 0C 00 1B 05 11 22 33 44 55 06 11 22 33 44    ......."3DU.."3D
        55 00 07 11 22 33 44 55 00 02 01 00 02 C9 00 00    U..."3DU........
        00                                                 .
    (10 msec)
    <= 00 90 00                                           ...

  • Workflow question; planner user and approve?

    Hi!
    We are testing our planning application and we discovered that a user with a planner role can approve his/her planning unit ??? He/She can choose from promote/approve when changing status of of selected enity (with write access).
    Is this a normal feature or has something gone wrong?
    Planner users are provisioned in Shared Services with following Planning roles: Planner, mass allocation, offline user. In Planning they have write access to their own entities and read access to some other entities related to their own business areas. They have write access to all accounts, some scenarios and so on. Read access is given to some scenarios and as said to some entities.
    Within business rules they have an Interactive user role. Those planners belong to different native groups that have "validate or launch" access to specific Business rules. I suppose Business Rules should not have effect on this..
    Somehow I would think that Planner should not have an approve option when changing status of his/her entity (with write access). The approve option should belong to admins (my humble opinion).
    kind regards,
    user 637777

    I believe you may be able to change this behavior, althought unfortunately, I don't have access to a Planning repository right now to confirm.
    There are two tables in the repository that define the actions and states of Workflow in Hyperion Planning. They are:
    - HSP_PM_ACTIONS
    - HSP_PM_STATES
    This is where you can modify (or add new) workflow actions and states. I seem to remember a field in these tables that defines who can take a specific action. There's another field that defines who the next potential owners are after a given action. Unfortunately, I'm recalling this from memory, so you'll have to do a little digging. The fields use a code, so you'll have to decifer what those codes mean too.
    Remember, after any changes to the repository, you'll need to restart the Planning services.
    Hope this helps,
    - Jake

  • All about Sub-Workflow...blog

    Hi All - I have been seeing quite a few queries on sub-workflows. Check this blog that I have presented on sub-workflow. Happy to hear comments/suggestions.
    <a href="/people/shireesh.mitragotri/blog/2006/12/19/building-robust-applications-through-sub-workflows sub-workflows</a>
    Cheers!
    Shireesh

    Hi.
    It's not different from normal..
    Just put the WSxxx instead of TSxxx into STEP.
    Ofcourse you dn't need to make the 'Triggering Event'.
    Binding will be made automatically and then you can customize that.
    It's easy.
    Have a nice Day.

  • Selective disable/enablement of sub workflows

    Hi,
    I am trying to design workflow with fork(For parallel execution) and many sub workflows. These sub workflows are totally independent of each other and cna have parallel execution. My requirement is to given an option for user to selectively enable/disable subworkflows.
    For ex: My workflow has around 15 subworkflows and all the users may not want all 15 but just a few workflows to be triggered.
    Is there any way to achieve this from using a entry in customizng table where he mentions which all subworkflows he wants to be triggered and only those subworkflows are triggered, when the workflow is triggered?
    Regards,
    Srini.

    Hi srini,
    I think maintenance wise it's better.
    Because basically you're flow would be
       |
      / | 
     A B C
    Based on ?
    any combination of A, B, or C would have to be performed.
    You can do this with the builder in one flow,
    Then it would have a lot of conditions, or some kind of intelligent conditioning,
    You can for instance assign a number to A, B and C with binary values (i.e 1, 2 and 4)
    And then based on ? you add these numbers, so that in the worfklow you know what to do.
    flow would look like
    a multiple condition:
    ? = 1 --> A
    ? = 2 --> B
    ? = 4 --> C
    ? = 6 --> B & C
    Etc.
    With the above way, you can also know in any step of the flow if one of A, B or C is needed.
    It is however verry intensive to maintain espescially if an extra sublflow is needed. With events you don't really care.
    Kind regards, Rob Dielemans
    Message was edited by: Rob Dielemans

Maybe you are looking for

  • Lumia 625 does not detect MicroSD cards, please he...

    My Lumia 625 does not detect MicroSD cards when inserted. I have tried powering off/on. I have tried formating them in my PC. I have updated my phone to 3050.0000.1334.0007 I have tried a Kingston 64GB SDXC Class10 I have tried a Sandisk Ultra 64GB S

  • Upgrading from CS4 Design Standard to CS5.5 Design Standard

    Hopefully a simple question. I am currently running CS4 Design Standard and wish to upgrade to CS5.5 Design Standard. My version of CS4 itself was an upgrade from the full installation version software of CS2 (I managed to skip the CS3 stage using a

  • Youtube will not load in Safari - help please

    I can get to the Youtube site with no problem, but no videos will download/play. Instead, the screen sticks on "loading" and the spinning ball. Firefox works fine. For Safari 5.0.3 I have tried suggestions from this forum to include deleting Youtube

  • How regenerate 'iPod touch App Pack 4A93' after master reboot

    Hi, I reinstalled my computer few days ago without saving 'iPod touch App Pack 4A93' this file is used for the installation of the January Software for Ipod Touch and i'd like to know if someone have an idea how to get back this file, an apple servic

  • Hard Drive used space.

    In Finder: Macintosh HD Info: I get Used: 40.28 GB on disk. In Disk Utility: Partition - Volume Information Size: 231.93 GB Available Space: 181.17 GB (So Used?: 49.96 GB) Roughly one says 40 GB used and the other 50 GB used Why is that?