That starts a workflow?

Hello

We want to determine what events or user's activities to start workflows. This question can be interpreted in many ways, so for example, what form button causes workflow POAPPRV to start? We would like to determine for a long list of workflow that gave me.

Is it possible to determine this?

Thank you

The workflow engine API that start the workflow can be found below.

1 wf_engine. StartProcess()
The syntax is less than
StartProcess procedure
(itemtype in varchar2,
ItemKey in varchar2);

ItemType is the name of the workflow that you listed for example: POAPPRV.

2 wf_engine. LaunchProcess()
The syntax is less than

procedure LaunchProcess
(itemtype in varchar2,
ItemKey in varchar2,
process in varchar2 default ",
Take in varchar2 default ",
owner in varchar2 default ");

ItemType is the name of the workflow that you listed for example: POAPPRV.

You can learn about events that will launch the workflow listed as follows.
In fact the event subscriber that has the type of action as "Send the event message to a workflow process" will launch the workflow.
You can find the subscription to events that will launch the workflow using query below
Select * from wf_active_subscriptions_v where wf_process_type = 'WFERROR.
wf_process_type - is the name of the process that will be launched

You should run this query for each of the elements of the workflow

Tags: Database

Similar Questions

  • vCenter alarm action script to start a workflow vRO with curl

    I have a script that I use on the vCenter servers to launch when an alarm is triggered, and this script will use curl to start a workflow vRO.  Everything has been awesome to work until I've finished upgrading all servers in vRO to 7.x now I get this error

    Server: ~ # /root/scripts/alarmaction.sh

    * Subject to connect() to x.x.x.x port 8281 (#0)

    * Try the connected.. x.x.x.x.

    * Connected to the port x.x.x.x (x.x.x.x) 8281 (#0)

    * successfully together certificate verify locations:

    * CAfile: /etc/ssl/certs/root64.pem

    CApath: / etc/ssl/certs /.

    * SSLv3, TLS, Hello handshake customer (1):

    } [data not shown]

    * error: 140770 CF: protocol SSL routines: SSL23_GET_SERVER_HELLO:unknown

    Closing connection #0

    curl: (35): 140770 CF error: SSL routines: SSL23_GET_SERVER_HELLO:unknown

    OK, so an algorithm of encryption or something got deleted in version 7.x.  Can someone else me one that exactly and how do I add the encryption required to connect again?

    Here's my alarmAction.sh in case anyone can use something like this

    #! / bin/sh

    {vcAlarm()}

    # Create variables to store values consumed by Invoke-RestMethod command.

    Server = "x.x.x.x"

    url = » https://$server:8281/VCO/API/workflows/408d8e4d-1a95-46A4-bca6-efa3c24f81bb/executions "

    # The cmdlet runs the URL encoding.

    Cat >./alarmProps.txt < < EOF

    " <-xmlns = execution context" http://www.VMware.com/VCO "> "

    < Parameters >

    < parameter type = 'string', name = 'VMWARE_ALARM_NAME' scope = 'local' >

    < string >$ {VMWARE_ALARM_NAME} < / string >

    < / parameter >

    < parameter type = 'string', name = 'VMWARE_ALARM_ID' scope = 'local' >

    < string >$ {VMWARE_ALARM_ID} < / string >

    < / parameter >

    < parameter type = 'string', name = 'VMWARE_ALARM_TARGET_NAME' scope = 'local' >

    < string >$ {VMWARE_ALARM_TARGET_NAME} < / string >

    < / parameter >

    < parameter type = 'string', name = 'VMWARE_ALARM_TARGET_ID' scope = 'local' >

    < string >$ {VMWARE_ALARM_TARGET_ID} < / string >

    < / parameter >

    < type parameter is 'chain' name is 'VMWARE_ALARM_OLDSTATUS' scope = 'local' >

    < string >$ {VMWARE_ALARM_OLDSTATUS} < / string >

    < / parameter >

    < type parameter is 'chain' name is 'VMWARE_ALARM_NEWSTATUS' scope = 'local' >

    < string >$ {VMWARE_ALARM_NEWSTATUS} < / string >

    < / parameter >

    < parameter type = 'string', name = 'VMWARE_ALARM_TRIGGERINGSUMMARY' scope = 'local' >

    < string >$ {VMWARE_ALARM_TRIGGERINGSUMMARY} < / string >

    < / parameter >

    < parameter type = 'string', name = 'VMWARE_ALARM_DECLARINGSUMMARY' scope = 'local' >

    < string >$ {VMWARE_ALARM_DECLARINGSUMMARY} < / string >

    < / parameter >

    < parameter type = 'string', name = 'VMWARE_ALARM_ALARMVALUE' scope = 'local' >

    < string >$ {VMWARE_ALARM_ALARMVALUE} < / string >

    < / parameter >

    < parameter type = 'string', name = 'VMWARE_ALARM_EVENTDESCRIPTION' scope = 'local' >

    < string >$ {VMWARE_ALARM_EVENTDESCRIPTION} < / string >

    < / parameter >

    < parameter type = 'string', name = 'VMWARE_ALARM_EVENT_DESCRIPTION' scope = 'local' >

    < string >$ {VMWARE_ALARM_EVENT_DESCRIPTION} < / string >

    < / parameter >

    < parameter type = 'string', name = 'VMWARE_ALARM_EVENT_USERNAME' scope = 'local' >

    < string >$ {VMWARE_ALARM_EVENT_USERNAME} < / string >

    < / parameter >

    < parameter type = 'string', name = 'VMWARE_ALARM_EVENT_DATACENTER' scope = 'local' >

    < string >$ {VMWARE_ALARM_EVENT_DATACENTER} < / string >

    < / parameter >

    < parameter type = 'string', name = 'VMWARE_ALARM_EVENT_COMPUTERESOURCE' scope = 'local' >

    < string >$ {VMWARE_ALARM_EVENT_COMPUTERESOURCE} < / string >

    < / parameter >

    < parameter type = 'string', name = 'VMWARE_ALARM_EVENT_HOST' scope = 'local' >

    < string >$ {VMWARE_ALARM_EVENT_HOST} < / string >

    < / parameter >

    < parameter type = 'string', name = 'VMWARE_ALARM_EVENT_VM' scope = 'local' >

    < string >$ {VMWARE_ALARM_EVENT_VM} < / string >

    < / parameter >

    < parameter type = 'string', name = 'VMWARE_ALARM_EVENT_NETWORK' scope = 'local' >

    < string >$ {VMWARE_ALARM_EVENT_NETWORK} < / string >

    < / parameter >

    < parameter type = 'string', name = 'VMWARE_ALARM_EVENT_DATASTORE' scope = 'local' >

    < string >$ {VMWARE_ALARM_EVENT_DATASTORE} < / string >

    < / parameter >

    < type parameter is 'chain' name is 'VMWARE_ALARM_EVENT_DVS' scope = 'local' >

    < string >$ {VMWARE_ALARM_EVENT_DVS} < / string >

    < / parameter >

    < / Parameter >

    < / execution context >

    EXPRESSIONS OF FOLKLORE

    # Now run the Invoke-RestMethod command with all the variables in place.

    curl-s-i-l - v--/root/scripts/cert/vco.key--/root/scripts/cert/vco.crt--cacert cert /root/scripts/cert/root64.cer - H - key "accept: application/xml ' h ' content-type: application / xml; Charset = UTF-8 "h 'permission = 'Base base64pass' ' u" user: password "x POST $url d @alarmProps.txt"

    }

    vcAlarm

    RM./alarmProps.txt f

    In vRO 7.0.1 Protocol TLSv1 is disabled by default. Could you change the sslEnabledProtocols property in the /etc/vco/app-server/server.xml file to "TLSv1, 1, TLSv1.2 ' "TLSv1, TLSv1.1, TLSv1.2", reboot and try again with curl vco-Server service?

  • Windows 2008 R2 NIC disconnected when converting from a model and started using workflow start-vm in VCO

    Hello

    Have a very strange problem. I wanted to apply patches using a VCO on my model R2 2012 Windows workflow and Windows 2008 R2 models. My model of Windows 2008 R2 when converted and started by the workflow VCO does NOT get an ip address. Yet, when I manually turn on the model of Windows 2008 R2 after be converted manually, it gets an ip address immediately. So weird.  There is no problem with 2012 Windows, it works very well. NOTE: The workflow that starts the virtual machine only turns on (and is built in the workflow built by vmware) Finally, today I built a new model and has the same problem. NIC is VMXNET3 and problem seems of course specific OS, has anyone seen this before?

    Thank you

    I found this article and fix it. It resembles a known issue with VSphere 5.1

    VMware KB: Registration or the deployment of a VM template fails

  • start the workflow in webviews - XMLHttpTransport error: 500 Internal Server Error trying to contact vCenter

    Hey all,.

    I use the latest version of vCO (5.5.2.1951762)

    I have a deployment workflow that works well at the start of the customer of vCO with vSphere Web Client.

    When I try to run the same workflow of a webview (on order as well as the default weboperator), I get the following error message as soon as I try to enlarge the vCenter in the tree to select an object for an attribute:

    : Error XMLHttpTransport: 500 Internal Server Error(type: error) "err".


    I also tried some other workflows, which generate drop down menus for the selection of the model with a set of predefined objects VC:VirtualMachine. As soon as I start the workflow, I get the same error.

    It doesn't matter whether the workflow runs as dialogue or not.



    So basically vCO doesn't seem to be able to browse the inventory of server vCenter or something.

    Tried to run the workflow with normal users as well as users who belong to the group admin vCO.

    Attached /var/log/vmware/vco/app-server/server.log log file.

    Any idea?

    Concerning

    Tim

    Here is the link to mentioned ko:KB VMware: fixing related errors in vCenter Orchestrator 5.5.2 SDKTypeConvertor_server

  • Start a WorkFlow

    When I want to start my workflow on the beginning... at the top, the grand FATHER! On view state: failure: not allowed new owner, the problem is to provide security and the problem is not the workflow any entity owned... ???

    And in the other application under the error is ambiguos Member something like that...

    This is your GRAND dad!

    Click on exclude the Cycle to the next level. It will exclude the workflow of all children.
    Then start again. You must be an administrator to perform this task.

    Note that all existing workflows is removed from your application when you perform this operation.

    See you soon
    RS

  • How to start a workflow by an event

    Someone knew how to start a workflow OWB after an event occur?

    In my application, the workflow must begin (and import data) after a record OWB is insert in one of my table of database application. In fact, I schedule a task to watch every minute in the table. The problem is that every minute, a connection is open and close on the application database. In addition, the user must wait for a minute (maximum) before work is begin process. Can anyone have a way to start OWB on the event using the trigger, queue or something else?

    Thank you

    MB

    UAS (your_OWF) .wf_engine. LaunchProcess (item_type, item_key, nom_processus);

    If your process is defined as:

    Module: PRC_MODULE
    Process_flow_package: PRC_PACK
    Nom_processus: PROCESS

    then ITEM_TYPE is PRC_PACK,

    ITEM_KEY can be anything, like p_process_name. » _'|| SYSDATE to ensure that it does not get doubled.

    and nom_processus is the PROCESS.

    So, when you call this function it would look like this:

    UAS (your_OWF) .wf_engine. LaunchProcess ('PRC_PACK', 'PROCESS_24072009120000', 'PROCESS');

  • How I replace the toolbar firefox... and remove the toolbar that starts with the MOST VISITED and SUGGESTED SITES

    Somehow lost the toolbar that has the page back arrow and refresh and stop icons. How can I replace those and remove a toolbar that starts with the MOST VISITED and lists several SUGGESTED SITES.

    Hello kittyheckel, please see the Navigation buttons such as back, home, bookmarks and recharge are missing. You'll want to disable the bookmarks toolbar and enable the navigation toolbar.

  • After that start monitor/screen becomes black with visible vertical lines

    After that start monitor/screen becomes black with visible vertical lines. Move the mouse shows an activity going on behind the disorder. My son says video card?

    Hi Melissa,

    ·         Since when are you facing this problem?

    ·         Have you checked the issue by connecting a different monitor?

    Step 1: It seems to be a hardware issue to me. Check if the cables are well connected.

    Step 2: Connect another monitor to the computer and see if the problem persists.

  • How can I get only a few things that start on my computer instead of all sorts of things at once

    How can I get only a few things that start on my computer instead of all sorts of things at once

    Hello

    You can use these to control which startup programs. Many others who settle start-up are not
    really need to be there. As Acrobat Reader (Adobe), Agent of WinAmp and many others who
    load chunks of themselves to start more quickly (not a problem on the machines of today ' hui) and to make sure that they
    can control the files they support (to be sure that you continue to use only). Those who are not common
    examples and not meant as a slam on these programs very well.

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/kb/929135
    How to check and change Vista startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    Autoruns - free - see what programs are configured so that it starts automatically when
    your system boots and you connect. Autoruns also shows you the complete list of the registry
    and where applications can configure Auto-start for the files settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx

    -------------------------------------------------------------------------

    Performance and maintenance tips
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/19e5d6c3-BF07-49ac-a2fa-6718c988f125

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Have a problem with M/S Windows Movie maker that started today?

    Have a problem with M/S Windows Movie maker that started today? When I add an audio link towards the file it double in the space. If the audio is at 3 min., now it is 6 min. Since it was just started is a problem on my end, or with the product? Spoke of a M/S tech and he told me to download the new windows live movie maker, but have the same problem. What I am doing wrong?

    It may be interesting to try to convert the audio file to the
    . Format WMA before you import into Movie Maker.

  • How can I change the programs that start automatically when I turn on my computer?

    I have several programs that slow down my departure upward.  I didn't not use programs and would that they won't start does not automatically.

    I have several programs that slow down my departure upward.  I didn't not use programs and would that they won't start does not automatically.

    First of all, note that you should be in * all * the programs that start automatically, not only with those who are in the system tray. Not all the programs auto-start manifesting by an icon in the status bar.

    On each program, you don't want to automatically start, check its Options to see if she has the choice to not start (make sure that you actually choose to not run, not simply a "don't display the icon" option). Many can easily and better be arrested like that. If this does not work, run MSCONFIG from the start. Run the line and on the Startup tab, uncheck the programs that you do not want to automatically start.

    However, if I were you, I wouldn't do this just for the purpose of the minimum number of running programs. Despite what a lot of people tell you, you should be concerned, not with the way * a lot * of these programs you run, but * that *. Some of them can seriously affect the performance, but others have no effect on performance.

    Don't stop all programs to run willy-nilly. What you need to do is to determine what each program is that its value is for you and what the performance cost is running all the time. You can try searching the Internet and ask questions about the details here.

    Once you have this information, you can make a smart informed decision on what you want to keep and what you want to get rid of.

  • How do access you the list of programs that start when you start your computer?

    How do access you the list of programs that start when you start your computer?

    Saturday, January 19, 2013 19:48:16 + 0000, Psylly wrote:

    How do access you the list of programs that start when you start your computer?

    First of all, note that you should be concerned all the programs
    starts automatically, not only those who enter in the system tray.
    Not all the programs auto-start manifesting by an icon in the
    Status bar.

    On each program, you don't want to automatically start, check its
    Options to see if he has the choice of not start (make sure you)
    Indeed choose not to run, not just a "don't show icon.
    Optional). Many can easily and better be arrested like that. If that is not
    work, run MSCONFIG from the start. Run the line, and then click the Startup tab.
    Uncheck the programs that you do not want to automatically start.

    However, if I were you, I wouldn't do it just for the application of
    the minimum number of running programs. Despite what many people say
    You should be concerned, not with the way that a lot of these programs
    you run, but who. Some of them can degrade performance severely, but
    others have no effect on performance.

    Don't stop all programs to run willy-nilly. What you need to do
    is to determine what each program is, what its value is up to you which
    the performance cost is its running all the time. You can try
    Internet search and ask questions about the details here.

    Once you have this information, you can make a smart informed
    decision on what you want to keep and what you want to get rid of.
    Ken Blake, Microsoft MVP

  • Re-start a workflow in the return of the child TF

    Hello

    I use Jdev 12.1.2.0.0

    I have a workflow that calls another workflow. In the child workflow, I have a return activity that returns control to the movement of parent task.

    I need to restart the workflow as soon as default with the return of the child, the parent TF. The workflow share the data controls.

    Could you help me to achieve this?

    Thank you

    Mozakkir

    The activity return returns a string which ID flow of the target of the navigation in the parent task. If you return for example the string "start_again" in the child workflow, you can add a rule of wild-card navigation to the parent and add a navigation of this wild card the default activity rule and the name "start_again". When your child task flow end the return of workflow is executed and "start_again" is passed as the next navigation to the parent workflow. The Joker takes this navigation and the default activity is executed.

    Timo

  • When I go on the site of adobe and then try to download the software, a message appears saying that safari can't open a page that starts with "Mao."

    I bought a subscription to a cloud creative adobe Photoshop and Lightroom. When I go on the site of adobe and then try to download the software, a message appears saying that safari can't open a page that starts with "Mao."

    Download & install instructions https://forums.adobe.com/thread/2003339 can help

    -includes a link to access a page to download the Adobe programs if you do not have a disk or drive

    Also go to https://forums.adobe.com/community/creative_cloud/creative_cloud_faq

  • Curl call to start the workflow with the Type of table / Composite

    Hello I'm trying to start a workflow with an array type / Composite.

    I'm using curl to make the call and post fields look like this when you send just a string:

    {

    "settings":

    [

    {

    'value ':

    {

    "chain": {"value": "test"}

    },

    "type": "string",.

    "name':"vm. "

    "scope": "local".

    }

    ]

    }

    How would he format if I had a type of table / Composite?

    The composite type has the format of the Type / size and String / number

    Well, I don't know like what your workflow, but here is what looks like my quick test workflow:

    MESSAGE: https://YOUR-VCO-SERVER;8281/vco/api/workflows/475a3967-2c29-4140-a63f-ec1822ec330b/executions/

    Headers:

    Content-Type: application/json

    Accept: application/json

    And here is the json work to get into the body:

    {
        "parameters": [
            {
                "value": {
                    "array": {
                        "elements": [
                            {
                                "composite": {
                                    "type": "CompositeType(Type:string,size:number):drives",
                                    "property": [
                                        {
                                            "id": "Type",
                                            "value": {
                                                "string": {
                                                    "value": "NTFS"
                                                }
                                            }
                                        },
                                        {
                                            "id": "size",
                                            "value": {
                                                "number": {
                                                    "value": 20
                                                }
                                            }
                                        }
                                    ]
                                }
                            },
                            {
                                "composite": {
                                    "type": "CompositeType(Type:string,size:number):drives",
                                    "property": [
                                        {
                                            "id": "Type",
                                            "value": {
                                                "string": {
                                                    "value": "ext3"
                                                }
                                            }
                                        },
                                        {
                                            "id": "size",
                                            "value": {
                                                "number": {
                                                    "value": 25
                                                }
                                            }
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                },
                "type": "Array/CompositeType(Type:string,size:number):drives",
                "name": "drives",
                "scope": "local"
            }
        ]
    }
    

    I've included the workflow here as well.

    Just a simple script:

    System.debug("Drives:");
    for each (drive in drives){
      System.debug("================");
      System.debug("Type: "+drive.Type);
      System.debug("Size: "+drive.size);
    }
    

    My results:

Maybe you are looking for