Implicit triggering of Workflow Action

Hi
There is Oracle APEX(Application Express) which is invoking the BPEL process on change in DB field.
Lets say status become NEW, it inokes the BPEL process, with the Request Number, which is a key filed in APEX as an input payload message to BPEL.
In BPEL process there is a Workflow which is triggered and a request is sent for Approval/Deny lies in a person's worklist.
Now APEX is the controlling point and BPEL is only used for workflow .
So no action of a workflow can be triggered form BPM worklist.
So when the status of DB field changes from NEW to COMPLETED, the BPEL process is to be invoked again and should proceed with the workflow action task where it has stopped previously and should get out of theat person's worklist.
The issue here is :
How can I invoke the workflow action from APEX to proceed further, when it has come to a person's worklist.
Thanks
Deepak

Thanks for the speedy response. We've tried that, but the "Change Document Object" for Risk Assessment in not included in the possible list.
The following change document object for this transaction is CBIH_ERH for the Risk Assessment and CBIH_AC for the Safety Measure. This information can be seen in the change document CDHDR.
Regards
Makoro Manyathela

Similar Messages

  • Triggering action for workflow action - pass parameters

    We defined multiple workflow actions for opportunity sales assistant. These actions share a common business logic (WF template), but they will be processed by different groups depending on the actions.  At the runtime, we need to know which action triggered the workflow, so we can direct it to the appropriate group.  Is there a way for us to figure out the triggering

    Hi
    I'm experiencing the same. Have you found an answer?
    Regards
    Carl

  • Field Update workflow action - Updating today's date into a field

    Hello there.
    I was hoping someone might be able to help with an error currently being experienced with regards to this workflow action.
    The requirement is for a workflow rule to action the printing of today's date into a custom field on an Activity record. The workflow rule condition is (PRE('<Status>') <> 'Completed') AND ([<Status>] = 'Completed'). This appears to be working and triggering the action correctly.
    The custom field to be updated is of type 'Date'. The value being updated into this field is 'Today()'. Overwrite existing values is checked.
    The default value for the field is also 'Today()'. Thus the workflow action involves overwriting the default value (i.e. the date the record was created) to the current date when the Status is switched to completed.
    When the workflow is triggered the following error message occurs:
    "Unable to evaluate workflow rule for the following reason:
    Update [Custom field name] : The value '01/18/2008' cannot be converted to a date time value. (SBL-DAT-00359) (SBL-ODS-00500)"
    One odd observation is that this error only occurs when trying to update activities that were created on previous days - (it will not overwrite the default value of 15/01/2008 with 18/01/2008). The workflow does not return an error message when asked to overwrite a value which is equal to itself (i.e. if the default value was 18/01/2008, the workflow runs without error, although the value stays the same as you would expect.)
    Can anyone shed any light on this? One potential thought is that our CRM is set up so that all dates appear in a different format - i.e. dates appear as dd/mm/yyy, rather than mm/dd/yyyy. Could this be contributing to this issue?
    Any help very much appreciated indeed.
    Thanks,
    Kieran
    ps. The reason for doing all this is that 'Completed date' for an activity does not appear in reporting. This has been raised with Oracle and apparently an 'enhancement request' has been registered.

    Guys,
    using the following statement, it does display the current system time
    Mid(Timestamp(),4,2)+'-'+Mid(Timestamp(),1,2)+'-'+Mid(Timestamp(),7,4)+' '+Mid(Timestamp(),12,8)
    Now When i do this , it displays me a time which is 3 hours ahead
    Mid(Timestamp(),4,2)+'-'+Mid(Timestamp(),1,2)+'-'+Mid(Timestamp(),7,4)+' '+Mid(Timestamp() + (3.0/24.0),12,8)
    My problem is to now display the difference of the current time stamp and the the time which shows 3 hours ahead in one field
    Thats is substracting the first timestamp syntax fro mthe second timestamp syntax
    and ofcourse if I copy paste both the syntaxes and put a minus sign in between, it doesnt work
    Timestamdiff is not allowed in workflows or field validations :(
    Anyone has any ideas?
    Nick

  • WorkFlow Action Table

    Hi Experts,
    We had a problem, some work flows are already triggered. We deleted those triggered Work Flows manually. We deactivated the events. But still when the system Refresh or restart the box all the works are triggering again. Could anyone help me to check where all the active works flows are store ( a table or something) Or any Event.
    Regards
    Rajendra

    HI Rajendra,
    I guess then you have just deleted the already triggered workflow items. Check in SWEL if when the BO event is getting triggered is it triggering your workflows?
    Check if the event linkage between the BO and workflow are deactive in SWETYPV and SWEC transactions.
    Also check in the system if there is an Action Profile / Output type which might be triggering the workflow.
    Workflow diagnosis in SWUD could also help.
    Regards,
    Saumya

  • How to tell if column value has changed for use in workflow actions

    Hello,
    I am using Sharepoint 2010 and for one of my Lists, I am using a general list workflow.  What I need to be able to do is determine if a column value has change (say an "Assigned To" field) because I only want to take some action if that particular
    value has changed.  I want to be able to have a workflow action that would be something like:
    If Current Item: Assigned To not equals [OLD VALUE]
    I have found some web searches that talk about creating a duplicate list or duplicate (but hidden) column but that doesn't seem to be the way to go.  I have document versioning set but don't if that can be used to help with this.  One possible
    thought (although I haven't tried it to see if it works) is to create local variables and have the values in the variables be the "old value".  Just not sure if there is a best practices for doing this.
    Thanks for any thoughts - Peter

    Helen,
    Not sure I fully understand your goal.  We don't use "tasks" at all but if you are looking to have your workflow check certain valus and be able to send email messages to people based on whatever, then you can certainly do that (as long as your Sharepoint
    has the email setup.  We do this for alot of workflow tasks.
    So, in the workflow you can have a blanket statement like what I previously listed:
    if Current Item:hiddenStatus  not equals Current Item:Status
        .... do something
    or you can do something like:
    if Current Item:hiddenStatus equals "In-Progress"
        .... do something
    Else if Current Item:hiddenStatus  equals "Completed"
        .... do something
    or combine the two and do nested "if" statements.  Then you add an email statement wherever you need it like:
    if Current Item:hiddenStatus  equals "Completed"
       then email "these users"
    To add the email part, just type in "email" on the line where you want to add a statment.  There is only one option to choose from.  That will display the line "then email these users".   The "these users" will be a link.  When you
    click it you will get a popup to add the email info.  We typically will send the email to a user (or users) that are already listed in one of the PeoplePicker fields.  On the email form, you can type in your own text, designate that a value is based
    on a column value (like our PeoplePicker), designate that a value is based on a workflow variable, add a link to the current item, etc.  To get to these options you will click the button to the right of the fields or use the "Add or Change Lookup" button
    in the bottom-left for the text area.  There is alot you can set in the mail.
    Does this help answer your question?
    - Peter

  • "Unable to load workflow actions from server. Please contact your server."

    I get the following error message when I want to create or open a workflow in SharePoint Designer 2007
    "unable to load workflow actions from server. Please contact your server
    administrator."
    I don't receive this error as a site collection administrator, but one of my contributors gets the error.

    What Chris mentioned is kind of abnormal situation described in
    http://office.microsoft.com/en-us/sharepointdesigner/HA102379121033.aspx#20.
    However, normally, you won’t be able to create SPD workflow if you only have Contribute permission level. I give the user Design permission level then he can
    create SPD workflow.
    There are other factors affecting permission to create SPD workflow:
    1.     
    According to
    http://office.microsoft.com/en-us/sharepointdesigner/HA101005871033.aspx#4
    , the SPD workflows are stored in a site-level hidden document library called Workflows. You should make sure that user have permission in this document library so that the created workflow can be saved successfully.
     http://blogs.msdn.com/sharepointdesigner/archive/2008/11/25/locking-down-sharepoint-designer.aspx
    describe the method to manage permission for this hidden Workflows document library: open the site in SharePoint Designer >> right-click the Workflows library >> click Properties >> click the Security tab >> click the link “Manage
    permissions using the browser”
    2.     
    SharePoint Designer contributor setting (http://office.microsoft.com/en-us/sharepointdesigner/HA101174691033.aspx
    ) can also block the user from being able to create workflows.

  • Desinger Workflow 2010: Unable to load workflow actions from the server. Please contact your server administrator?

    Hello,
    I am facing a problem from last some days..
    When I am trying to open/create/update workflows from Designer 2010, then designer giving me an error "Unable to load workflow actions from the server. Please contact your server administrator".
    I researched on internet for this error and found some possible reason like
    Login user Permission issue
    Error in custom actions
    So that I checked for permission for login user, but it has administrator rights. and I tried to open workflow by removing custom activity code, but still exist.
    also if I tried to create/update workflow for another site on same server then it works without any problem.
    Can anybody please help me?
    Many thanks,
    Nitin
    N i T i N

    Hi NiTiN4u,
    Thanks for your post.
    First, here are some troubleshoot workflow error form Microsoft site:
    http://office.microsoft.com/en-gb/sharepoint-designer-help/troubleshoot-workflow-errors-HA010237912.aspx#BM20
    Second, have you tried to close the site and open it again in SharePoint Designer 2010?
    Third, try to restart your IIS and share the results.
    SharePoint 2010

  • The list of workflow actions on the server references an assembly that does not exist

    Hi,
    This issue has been discussed many times in this forum , the reason why I am posting is I tried the resolution steps but I dont see any luck.
    I am getting the below message from the SharePoint designer 2007 when I am trying to modify a workflow
    "This list of workflow actions on the server references an assembly that does not exist. Some actions will not be available. The assembly strong name is Microsoft.SharePoint.WorkflowActions, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c.
    Contact your server administrator for more information."
    #1 : One of the post says "Normally you would see that error because someone has extended the Workflow actions available in SPD with a custom action developed in Visual Studio.  These custom actions are loaded when your workstation reads the WSS.ACTIONS
    file on the server.  The file is located in the 12 hive under Template\1033\workflow.  Your WSS.Actions file contains a reference to a custom action .dll which is not available on the server."
    I opened the WSS.Actions file in notepad, I dont see any line with *.dll in it. Am I missing something?
    #2: Another post says "The solution I discovered was that the server running my SharePoint Services was not up to .NET 3.0.  As soon as I updated to .NET 3.0 everything worked.I had made sure the machine running SharePoint Designer was updated, but
    had missed the SHarePoint Services server."
    The server is already updated to .Net 3.0.
    #3: I went to the %System Drive%\Documents and Settings\Local Settings\ApplicationData\Microsoft\SharePointDesigner.
    Deleted the ProxyAssemblyCache folder but no luck.
    Just checking if any one was able to resolve this issue by following any of the solution other than the above mentioned ones.
    Thanks,
    Cutloo

        I have the similar issue with my custom work flow. I have searched the whole day for the solution but no success, then at last a simple track works for me. Please try this if any one faces such issue.
    Basically the assembly that we have define in the ACTIONS file dose not exists on the server, because of two reasons, either we have given the wrong assembly name (in our case the namespace name inside our solution) or the PublicKeyToken may differ from the
    original assembly, that are deployed in GAC.
        So cross check both of these, in my case the assembly name was fine,
     <Action
        Name="Move Item to Another List and Send Email"
        ClassName="MyAssemblyName.Classname"
        Assembly="MyAssemblyName,Version=1.0.0.0, Culture=neutral, PublicKeyToken=4053d1fde8a1c781"
        AppliesTo="all"
        Category="Email actions">
    But the problem was in the 'PublicKeyToken', so i double click on the feature inside my solution,then in the bottom i have clicked on the manifest tab to check the entries.
    <Feature xmlns="http://schemas.microsoft.com/sharepoint/" Title="MyAssemblyName Feature1" Id="f7f1bda0-5f65-40f1-a705-f6f15a41da3a" ReceiverAssembly="MyAssemblyName, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0c32dbb769ed64b5"
    ReceiverClass="MyAssemblyName.Features.Feature1.Feature1EventReceiver" Scope="WebApplication"></Feature>
    Here i got the actual PublicKeyToken for my assembly (0c32dbb769ed64b5), i have replaced this number inside ACTIONS file, deploy the soultion, reset IIS.
    It works for me,

  • Workflow Action: Trouble adding a new line in "Description" field.

    Hi folks. I'm really having a difficult time with this one and it seems so simple...
    I am struggling with how to get a field update action to enter a line break in a note field. I've tried "\n", "\n\r", "chr(13)", "chr(10)", "<br>" and so on.... it just puts the text of what I use into the Description.
    Here's the simplified workflow action...
    [<NextStep>] + "\ \n" + PRE('<Description>')
    What it's supposed to do.. is every time someone updates the field [<NextStep>], I want to replace the contents of the description field with the new value for nextstep (plus a new line) and then followed by everything that was in the description field previously. This way I have a running log in the description field.
    Idealy it should put:
    Today() + ": " + [<NextStep>] + <line break> + PRE('<Description>')
    but when I add the Today() it ignores everything that follows. I'm not as worried about that as I am about the inablity to put in the line beak. Please help!!!
    Thanks!
    Edited by: ThinkGadget on May 11, 2009 9:13 AM because the forum interpreted the "\\n"
    Edited by: ThinkGadget on May 11, 2009 9:15 AM (I put a space between the two back slashes so that the forum doesn't interpret it as a new line)

    I had used the "\\n" in my expressions to add a new line in the Description field. Only issue is also add a \ to the end of line but that was acceptable in my case. We are on OOD R16.

  • BTE 1030 - we use for AP documents, create an event that triggers a workflow

    Hello all,
    We use SAP's program RFBIBL00 to post AP documents.  We coded a function module that is called when BTE 1030 is reached.  Our FM creates an event that triggers a workflow.
    We are now doing some testing with an external vendor who is creating AP documents by doing an RFC  using function module BAPI_ACC_DOCUMENT_POST.
    It seems that this BTE, 1030, is not being triggered when the IDOC created by this function module posts the AP document.
    Has anybody else seen this issue and found a way to deal with it?
    Thanks
    Bruce

    AFAIK BAPI_ACC_DOCUMENT_POST and FI posting should trigger BTE 00001030 but BAPI_INCOMINGINVOICE_CREATE and AC interfacewould trigger BTE 00001050. (or is BAPI_ACC_DOCUMENT_POST also using AC interface, I will let you check it)
    Nevertheless call your FM triggered thru BTE 1030 also in a FM triggered thru BTE 1050. Also in the call check for update task
    function z_fi_00001050.
    call function 'TH_IN_UPDATE_TASK'
         importing
           in_update_task = in_update_task.
       if in_update_task eq 0 and i_xvbup eq 'X'.
         call function 'Z_FI_00001030' in update task
           exporting
             i_xvbup = ' '
           tables
             t_bkpf  = t_bkpf
             t_bseg  = t_bseg..
       else.
         call function 'Z_FI_00001030'
           exporting
             i_xvbup = ' '
           tables
             t_bkpf = t_bkpf
             t_bseg = t_bseg...
       endif.
    Regards,
    Raymond

  • Triggering of dynamic actions in infotypes!

    Hi Experts,
    I have Query regarding the triggering of dynamic actions. Have a scenario where I create a record in infotype 21
    with subtype 'XX".
    On save of this record I need the dynamic actions to be triggered , where I will write the logic to modify the end date of an  existing infotype 21 record with subtype 'YY'.
    How can I achieve this?
    Please help!!!!

    Hi,
    Just try this.
    Goto V_T588Z.
    INFTY     SUBTY      FIELDN      FC NO.      STEP VARIABLE FUNCTION
    0021     XX          I     INS,21,(P0021-ENDDA)
    Regards,
    Srini

  • Triggering a workflow from a adobe interactive form...

    Hi,
    I am new to SAP.
    I hv to ceate a adobe form for creating CREDIT MEMO REQUEST...
    on filling the data and submitting, it should trigger a workflow, in which, the approver may approve or reject..
    if it is approved it should be updated in the database table
    and if rejected it should go to the another person.
    I know to create adobe forms.. On clicking the SUBMIT button in the form the workflow should be triggerd..
    is there any standard wokflow for my requirement or should i create a new WF.
    What is the code for triggering a workflow.... how to approach my requirement... can any one help on this please...

    *CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
    *  EXPORTING
    *    task                      = 'WSXXXXXXXXX'
    **   LANGUAGE                  = SY-LANGU
    **   DO_COMMIT                 = 'X'
    **   USER                      = SY-UNAME
    **   START_ASYNCHRONOUS        = ' '
    **   DESIRED_START_DATE        =
    **   DESIRED_START_TIME        =
    **   DESIRED_START_ZONLO       = SY-ZONLO
    **   IFS_XML_CONTAINER         =
    * IMPORTING
    *   return_code               = lv_retcode
    **   WORKITEM_ID               =
    **   NEW_STATUS                =
    ** TABLES
    **   INPUT_CONTAINER           =
    **   MESSAGE_LINES             =
    **   MESSAGE_STRUCT            =
    **   AGENTS                    =

  • Triggering the workflow after the Notification is created

    Hi Everyone,
    If the two workflow templates have the same triggering event BO: BUS7051, Event: CREATED). Both the workflows are triggered after the notification is created.
    Scenario:
    After terminating an employee notification number is created and triggers the workflow template 99900033 (Event: CREATED)
    After Promoting an employee notification number is created and triggers the workflow template 99900035 (Event: CREATED)
    My Requirement is: I want to trigger only one workflow template depending on my scenario (Termination or Promotion).
    How can I achieve this? Could you please let me know?

    please include a simple condition in SWB_COND where employment  EQ Termination for  termination event linkage (SWE2) and similary for promotion also create ne more condition and include in promotion event linkage.
    You might be having some doc type, so based on this you can achieve this.

  • Workflow Action to update Picklist field

    Hi,
    I created a workflow. I want the workflow to do the following.
    Workflow Conidtion*
    If Condition is PM20 Bid Decision or PM20 No Bid then perform workflow actions.
    [<plMileston_ITAG>]=LookupValue("OCC_CUST_LOV_OPTY_6", "PM020 Bid Decision") OR [<plMileston_ITAG>]=LookupValue("OCC_CUST_LOV_OPTY_6", "PM020 No Bid Decision")
    Workflow Action*
    FieldValue('<plProject_Category_ITAG>')=LookupValue("OCC_CUST_LOV_OPTY_2", "A")
    I tried various combinations of using FieldValue,Just by putting the FieldName = A. Nothing works..I know the workflow Condition is working because when I update a free form text I am able to append the field. When I try to update a Picklist (Editable) it does not work. Dont know the reasons.
    Also what is the standard way of updating a Picklist field using workflow.
    Thanks for your help in advance
    Gautam

    Hi !
    I assume you created a workflow with the event trigger *"Before modified record saved"*.
    Then you action Update values must be :
    Field Name : select the picklist you want to update
    Value : simply put LookupValue("OCC_CUST_LOV_OPTY_2", "A")
    Overwrite Existing Values : check the box it if you want your picklist updated even if already filled
    You don't have to repeat the fieldname in the value field of your action. It seems that you put FieldValue('<plProject_Category_ITAG>')= in the value field, but with that, it will not work.
    Hope this will help, feel free to ask more !
    Max

  • Triggering of WorkFlow in Transaction CBIH12(EH&S)

    Good day All.
    We have created a customer object(transaction SWO1) for the Risk Assessment(transaction CBIH12) in EH&S. We have been looking for ways of triggering the WorkFlow for the Risk Assessment. The available user exits didn’t help.
    Is there anyone out there who has done these or advice us how to do it. 
    Regards
    Makoro Manyathela

    Thanks for the speedy response. We've tried that, but the "Change Document Object" for Risk Assessment in not included in the possible list.
    The following change document object for this transaction is CBIH_ERH for the Risk Assessment and CBIH_AC for the Safety Measure. This information can be seen in the change document CDHDR.
    Regards
    Makoro Manyathela

Maybe you are looking for

  • All of my itunes library has gone. My Music/video files are still there.

    Can I put all of the tracks/videos on with the play count/playlists still there? Hi, I have just turned on my computer, then itunes. What I found was nothing. I store all my files on an external hard drive and wasn't connected when I first loaded it

  • Integration between InfoPath web forms (browser side), SharePoint 2010, and Word or Excel

    To begin with the end in mind, here's what I need to do: User A (employee) fills out infopath form in browser. User A saves infopath form, workflow runs, and sends a link to the manager User B (Manager) opens infopath form, clicks a button, and all t

  • TITLE for the Interactive report

    Hi, I like to show a Title for the Interactive Report in several different languages. But it seems if I just pick Interactive report, there will be no Title shown. What is proper way of doing this ? So, what I did was, I created a HTNL region, just t

  • Preload external swf's

    Hi, Every time I have asked this question, people say , just go online you'll find lots of preloaders out there. Or, its documented really well in flash help. BUt I still dont get it. Im sure that anyone who knows actionscript moderately well can fig

  • Bricked my notebook - Need help resurrecti​ng my BIOS

    [Notebook Info] HP 2000-329WM Windows 7 32-bit Current BIOS version: F.43 [Description] I attempted to upgrade my BIOS (or at least what I thought was an upgrade) and installed an incorrect InsydeH20 (EFI) BIOS. I also attempted to recover this mysel