API for workflows

Hi All,
I'm looking for API's to create and manipulate the workflows.I came accross a set of API's which are for KM, but I could not locate the API that could be used for creating the workflows. Do share your knowledge in this regard.
Vijai

If you want to download Postman - https://chrome.google.com/webstore/detail/postman-rest-client-packa/fhbjgbiflinjbdggehcddc bncdddomop?hl=en
I have a "collection" that I can post a link for that will help get you started ..we don't really have any tutorials.
I think you'll need the 9.99 "power-pack" to use my examples though.

Similar Messages

  • MDM API for workflow

    Hello,
    we have workflow for a mdm table.we want to send workflow task completed records to xi.
    I have written webservice for getting records from mdm.
    but,I am not able to get task completed records filter for the same.
    sample code is something like this........
              SearchParameters searchParam = search.GetParameters();
                   FreeFormTableParameter fft =
                        searchParam.NewFreeFormTableParameter(aTable);
                   String keyName = null;
                   FreeFormParameterField fld = null;
                   int filtersSize = filters.GetSize();
                   for (int key = 0; key < filtersSize; key++) {
                        keyName = filters.GetAt(key).GetName();
                        fld = fft.GetFields().New(keyName);
                        fld.GetFreeForm().NewString(
                             filters.GetByName(keyName).GetValue().TranslateToString(),
                             FreeFormParameter.EqualToSearchType);
                        fft.Add(fld);
                   //end filter
                   A2iResultSet rs = null;               
                   rs = catalog.GetResultSet(search, rsd, sortByColumn, true, 0);
    I found <u>catalog.GetWorkflowTasks(Task.COMPLETED);</u> for task completed filter.
    but,how it filters in resultset?

    Hello,
    I used the command using the following code :
    GetActiveWorkflowTasksCommand gawf = null;
                   try
                    gawf = new GetActiveWorkflowTasksCommand(usc);
                   catch(ConnectionException cc)
                        cc.printStackTrace();
                   gawf.setSession(sessionId);
                   gawf.setTableId(tables[0].getId());
                   try
                        gawf.execute();
                        wdComponentAPI.getMessageManager().reportSuccess("Active Jobs Success");
                   catch(CommandException ec)
                        ec.printStackTrace();
                        wdComponentAPI.getMessageManager().reportException(ec.getMessage(), true);
                   WorkflowTask[] acwf = gawf.getActiveWorkflowTasks();
    but the Array acwf does not have any Workflow Tasks in it.
    Pls help

  • How to use java api for function activity in embed oracle workflow?

    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

    The Java Function Activity Agent is not certified for Oracle Workflow embedded in Oracle Applications. Installing standalone workflow should be a lot easier than what you have found, although it looks like you did hit a Pentium 4 issue with the Oracle Universal Installer. I suggest you contact Oracle Support or Oracle Consulting for assistance.
    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

  • ABAP APIs for MDM Workflow Modification

    Hello All
    I require a help from all of you. Currently I have a particular business case where I need to configure the MDM workflow & do changes & modifications in it via ABAP APIs. Currently we are having Java APIs in plcae.
    Can you please tell me whether we have some ABAP APIS for this MDM Workflows, if yes what are their EXact names & functionalitites.
    Also can we download them from Service Marketplace.
    Please reply ASAP.
    Regards
    Madhurim Basu

    Hi Madhurim Basu
    ABAP API(SAP MDM 5.5.-7.1) are'nt support workflow management
    SAP MDM(5.5-7.1) JAVA API  are support workflow
    More about JAVA API you can read from:
    http://help.sap.com/javadocs/MDM/current/
    Regards
    Kanstantsin

  • Best practice for workflow triggering from Web Dynpro UI

    Hello, workflow community!
    I'm working on a task which allow to trigger the workflow by clicking a button in Web Dynpro UI. As always, there are multiple ways to do that, for instance, to use SAP Workflow API (SAP_WAPI_START_WORKFLOW) or to raise an event upon the button click, which will be caught by workflow template.
    In my opinion, the optimal solution is to call FM, which will call ABAP-class, raising an event, which, in turn, will be caught by workflow template. In this case, FM will service kind of wrapper, where we can implement some additional checks if needed.
    But the question is what approach is the best practice — to raise an event or use SAP_WAPI_*?
    Thanks.

    let combine, use SAP_WAPI_CREATE_EVENT
    usually I would not recommend creating a workflow directly (SAP_WAPI_START_WORKFLOW) since when I look for workflows in a system I usually start from SWE2 (the event linkage) which uses events so the workflow you start by SAP_WAPI_START_WORKFLOW will not be seen there, also SWE2 gives you better control for starting the workflow, you can easily deactivate an event linkage. finding where you called the workflow by SAP_WAPI_START_WORKFLOW will be more difficult and deactivation will require a code change.
    so use events, and start them by SAP_WAPI_CREATE_EVENT
    Also pay attention that you have a check function module option in SWE2.

  • ABAP API for MDM work flow

    Hi SDN,
    I need some information related to ABAP API for MDM workflow. I did search in SDN and I found one solution in a thered posted on Jul-2008.
    ABAP API - MDM Workflow execute
    My dought is: Do we have any ABAP API for call MDM work flow. Please provide me the solution ASAP. Apprciate for your immediate response.
    Regards,
    Kumar.

    Hi LAKSHMAN ,
    To answer your question specifically
    Using ABAP api you cannot call MDM workflows as of mdm 5.5 there are no functions specific to calling MDM workflows in ABAP.If you want to implement workflows on ABAP side you need to go for SAP ECC workflows which is a different topic than MDM>
    To call MDM workflows over the Java stack ie WAS (SAP portal),You have 2 ways
    - UWL
    - Guided Procedures.
    - UWL is a way of calling MDM workflows on EP.Wherein the workflow design will be done in MDM and it will only be called in portal using appropiate connections and configurations.
    You can refer the below links to know more on them:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/771f1a61-0e01-0010-daa9-93a52905da09 (uwl)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a3461636-0301-0010-3787-978f5ac8bd45 (UWL config)
    - GP is a way where by you need to design the entire workflow on SAP portal the logic can be pertaining to MDM but the design is completely on portal using webdynpros and api.
    You can refer the below links to know more on them:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92811997-0d01-0010-9584-f7d535177831  (Guided procedures)
    Enterprise Master Data Management   (EP Guided)
    To know more on ABAP api and its provider classes you can refer the below:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/601ddb01-e5c8-2910-d981-b190b51fca44  (abap api webinar)
    Re: Abap api error (Abap api provider classes Forum)
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • APIs for accessing the ESS log and output files from UCM

    Hi,
    As I understand, the output and log files of an ESS job will be uploaded to UCM.
    We have a requirement where in we are building a simple error handling framework, which gets triggered after a series of ESS jobs are run. In the error handling framework based on some processing logic we need to e-mail the error or log files to the users. I am not able to find any information related to retrieving the log and output files for and ESS job from UCM. Any inputs on this will be appreciated.
    Thanks for your help,
    Thiru

    For accessing content in UCM you can use the RIDC APIs or UCM Web Services. Note that the UCM also provides features for workflow etc. that could potentially be used for notifications refer to the developer guide for details. For UCM related questions you may want to use this forum instead
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • API for logging in a function

    Hi,
    is there or will there be a standard API for logging information in a function.
    When a function is executed I would like to store different information e. g. debugging information. So if a function fails, I can see how far the function executed. Of course, I can store such data on my own referencing the actid. But I don4t want to write code for a feature that is already implemented.
    Thanks!
    Regards,
    Christian

    The standard workflow PL/SQL interface includes exception handling, this is the call to the wf_core.context API. This API has about 10 parameters you can use to include useful debugging information, and this will be put on the error stack and visible through the Workflow Monitor or the error notification if you registered a workflow to manage the function activity errors.
    Hi,
    is there or will there be a standard API for logging information in a function.
    When a function is executed I would like to store different information e. g. debugging information. So if a function fails, I can see how far the function executed. Of course, I can store such data on my own referencing the actid. But I don4t want to write code for a feature that is already implemented.
    Thanks!
    Regards,
    Christian

  • APIs for accessing account details

    Hi Experts,
    I want to get the details of a process form using one of its custom fields as input. I then have to find the oim user assosciated with this account. Please suggest the APIs which can be used.
    Regards,
    Subin

    For accessing content in UCM you can use the RIDC APIs or UCM Web Services. Note that the UCM also provides features for workflow etc. that could potentially be used for notifications refer to the developer guide for details. For UCM related questions you may want to use this forum instead
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Api for operations in Java2D

    Hello friends.
    I am using Java2D to realize a small application that worked with geometric figures.
    And I am looking for an api or something, which help me to realize the following operations: I calculate of angles between straight lines, to know if two straight lines are parallel or perpendicular, etc.
    Thank you.

    The standard workflow PL/SQL interface includes exception handling, this is the call to the wf_core.context API. This API has about 10 parameters you can use to include useful debugging information, and this will be put on the error stack and visible through the Workflow Monitor or the error notification if you registered a workflow to manage the function activity errors.
    Hi,
    is there or will there be a standard API for logging information in a function.
    When a function is executed I would like to store different information e. g. debugging information. So if a function fails, I can see how far the function executed. Of course, I can store such data on my own referencing the actid. But I don4t want to write code for a feature that is already implemented.
    Thanks!
    Regards,
    Christian

  • Necessary Roles/authorizations required to Userid for workflow assignment.

    Hi all,
    Am working on a Custom workflow assignment.
    This is the first time, customer is working on workflows in this system.
    Henceforth, we need to do basic setup/configuration, before starting actual work.
    I want to know, what all Roles/authorizations are required for my userid throughout the assignment.
    Currently, we have got,
    EXX_BC_SAP_ALL_RESTRICTED :: All authorization without basis
    SAP_BC_BMT_WFM_ADMIN::Administrator for Business Workflow
    SAP_BC_BMT_WFM_DEVELOPER::Developer for Business Workflow
    SAP_SWFMOD_ADMIN::Workflow Modeler Administrator
    Are these sufficient or do we need any other roles?
    With above authorizations, i am unable to access below mentioned t-codes,
    SWNCONFIG                     Extended notifications for business workflow
    SWU3                             Automatic Workflow Customizing
    SWWCOND_INSERT     Schedule background job for work item deadline monitoring
    SWWCLEAR_INSERT     Schedule background job for clearing tasks
    Pls let me know the role, i need to get for above t-codes.
    Kindly go thru your SU01 t-code & let me know what all roles are used in your workflow system.
    cheers.
    santosh.

    Hi,
    I recommend you to have roles related to SWLD tcode (SAP menu Workflow). The basis must know what are the exact names.
    These are some roles:
    SAP_BC_BMT_WFM_ADMIN                    --> Administrator for Business Workflow
    SAP_BC_BMT_WFM_CONTROLLER         --> Process Controller for Business Workflow
    SAP_BC_BMT_WFM_DEVELOPER                --> Developer for Business Workflow
    SAP_BC_BMT_WFM_GP_ADMIN                --> Role for Guided Procedure Business Workflow Administrators
    SAP_BC_BMT_WFM_GP_SERVICE_USER -->Service User for Guided Procedures Business Workflow API
    SAP_BC_BMT_WFM_PROCESS              --> Business Workflow Implementation Team
    SAP_BC_BMT_WFM_UWL_ADMIN              --> UWL: Administrator for Workflow Functionality
    SAP_BC_BMT_WFM_UWL_END_USER         --> UWL: End User for Workflow Functionality
    SAP_SWFMOD_ADMIN                              --> Workflow Modeler Administrator
    SAP_SWFMOD_TRANSPORT                         --> Access to transport manager
    SAP_SWFMOD_USER                              --> Workflow Modeler Administrator
    SAP_WF_ADMINISTRATION                         --> Business Workflow: Work for administrator
    SAP_WF_CONTROLLER                              --> Business Workflow:Work for process controller
    SAP_WF_EVERYONE                              --> Business Workflow: Work for Everyone
    SAP_WF_IMPLEMENTATION                         --> Business Workflow: Work for Implementation Team
    Regards,

  • Design for workflow engine...

    I'm starting to (re)design a workflow engine and was wondering if there were any design resources/examples/ideas that people might know of that would help.
    Essentially the workflow is a simple state machine with user-invoked transitions.
    However, it also possesses (multiple) substates and automatic transitions (when certain criteria are met).
    The presence of automatic transitions complicates the design slightly but it's still very manageable. The main problem is how to handle the multiple substates of each item without necessarily describing an API for the workflow engine that is bound to the structure of these items (which are basically trees with different node types at each level).
    Many thanks in advance!

    I use a message passing approach with all troublesome
    you mentioned. Hopefully delays are not so significant
    but sometimes annoying. Could you elaborate more about
    MOAT approach, what is complicity?Let's assume that you're going to maintain all information in a database, with tables holding jobs, tasks, and relationships between tasks. Going to the example of a task completion, you might have to do the following: (1) determine whether dependent tasks can become ready, (2) modify parent status if this is the last child, (3) modify job status if this task is the last in the job, (4) notify external listeners that the task is done.
    In the MOAT approach, this all happens within one transaction: you update the task's row, find the rows of all dependents, potentially update them, find the parent, potentially update it, find the job, potentially update it, and then notify the listeners or write some transaction log that will later be read by them. For a typical workflow, you'll probably read a dozen rows from all 3 tables (jobs, tasks, relationships), and update a half dozen. But it's a recursive operation, so you might read a hundred rows or more, and update fifty of them.
    The benefit of this approach is that state remains consistent to the user. After a client completes a task, it can immediately work on dependent tasks. The downside is that completing one task takes a non-deterministic and potentially long time.
    In the message-passing approach, the completing task simply publishes an event indicating its completion. Execution time from the client perspective is relatively constant.
    The central event loop then passes this event onto handlers that perform the related actions (updating dependents &c). As long as you control simultaneous updates to the job (from multiple threads), the server-side code is pretty straightforward.
    It's on the client side that things get interesting. Let's say that the client tries to anticipate actions: it knows that when it completes one task, the dependent should be worked on, so it tries to explicitly grab the dependent (rather than use a generic operation like getNextTask()). In this situation, the server may not be done updating the dependent tasks, so they're not ready when the client tries to grab them.

  • Need API for creation of tag cloud

    Hi,
    I have a requirement to create a tag cloud based on a particular business logic. Does Webcenter provide API for the same?
    Can I customize the "Tagging - Tag Cloud" task flow? If yes, how and to what extent?
    Thanks in advance,
    Anurag

    Hi  Ajit,
      No another FM is available . U can directly create using transaction SE01 .
    Or u can create using BDC .

  • API for open purchase order creation

    Hi,
    Is thier any API for creation of open purchase order?
    Thanks
    triveni

    see if this helps
    Re: APIs in PO
    Mahendra

  • How can I see that a file has been sent for workflow?

    How can I see that a file has been sent for workflow?
    During the workflow phase, the file is locked for workflow. But when the file has been approved (or denied) it will have the same status as it did before the workflow process (unless you trigger the workflow by changing its location).
    You can see the workflow history in the "My Request" view, but this way of determining whether a file has been approved seems complicated.
    Best regards
    Magnus

    Hi,
    Thanks for the transaction code, but my question is not answered yet.
    For example, I use STMS_IMPORT in the Development environement to see the list of the transport that has been made in that environement.
    I now have a list of these transports, with a status. But I wanna know if that transport that has been created in the Development environement has been moved to the Sandbox environement.
    STMS_IMPORT shows me only the list of transports that has been created in that environement. It doesn't tell me if a transport in DVL has been moved in the QAS, SANDBOX or PRODUCTION environment.
    Thanks again,
    Julien

Maybe you are looking for