Calling WLI 8.1 Workshop Workflows

Hi - we have some workflows implemented using Workshop 8.1 which are going to be
deployed as controls and called by multiple clients from a web service. The problem
I am facing is to decide how we can make sure that the state maintained by the
workflow is managed correctly when multiple clients are calling it at the same
time. The interface to these workflow controls will be a web service which will
call a workflow based on an XML tag passed to the service.
Any ideas are appreciated
Thanks

Henry,
You can always only get the username using any context object such as
JpdContext or JwsContext. The password will not be accesssible.
Could you please advise what else are you looking for in security
credentials.
Regards,
Anurag
"Henry Mugasha" <[email protected]> wrote in message
news:3f8ad0a5$[email protected]..
Hi,
I am using Weblogic 8.1 Workshop business process to track the life cycleof
a business process and execute certain actions in a J2EE applicationhosted
on the on the Weblogic 8.1 App Server. However, to invoke business methods
on the application, the method signature requires me
to pass as one of the parameters, the caller security credentials, i.e.
caller subject. I have looked into the JpdContext and it apparent thatthere
exists an API method to retrieve caller principal. However callerprincipal
only contains the caller's user name. I tried using getCallbackusernameand
getCallbackpassword on the JpdContext, but these return null. Do you know
how I can retrieve caller security credentials for a business process(jpd)?
>
Thanks
Henry M.

Similar Messages

  • How to call the abap program in workflow

    HI Exeprts,
    I need to call one abap program in workflow.
    can any tell me how to call the abap program in workflow.
    thanks &regards
    ramesh

    Dear Ramesh,
    U can use REPORT business object.
    Method : EXECUTE_2
    Regards,
    Sagar

  • Calling Adobe form in a Workflow Step for approval

    Hello,
       There are some ISR forms and workflows in MSS which use Workflow tasks configured as JavaWebDynpro to call Adobe form from the Workflow Step.
    Is it possible to achieve the same using ABAP Web Dynpro and creating a new task and configuring to use it as an ABAP Web Dynpro (which can in turn call the Adobe form from the WD)?
    Thanks.

    Hi Anjali,
    1)You can develop an<b> RFC</b> that collects required basic data from R/3 and display them in <i>ABAP WD - Adobe Form</i>. The End user can change/fill the remaining contents of the Adobe Form and submits it for approval. The <b>RFC</b> again handles the triggering part of the <b>Workflow</b> and passes the form data to the workflow containers.And for approvals, you can use the <i><b>SWFVISU</b></i> to call a <b>ABAP WD</b> application from Workflow. And in turn the control again goes back to RFC and so...
    2)I dont have much idea in ECC 60 if there is a similar ABAP WD application like Standard Java WD <b>IsrFormApprove</b>.
    3)No idea.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Call an RFC as a Workflow step

    Hi,
    I need to integrate inside a workflow (designed via Process Composer) a call to a backend RFC.
    In detail, I need to make a callback to the backend when a process is created to register the successful creation of the process itself.
    So it should be something like this:
    START --> AUTOMATED RFC CALLBACK --> Workflow tasks --> END
    I'm trying adding an EJB and linking it to the workflow with a Mapping Activity, but I'm not sure that I'm doing the right thing.
    I've found a SAP guide that shows how to call an EJB from a workflow with a Mapping Activity but I'm having problems making things work.
    Can someone suggest me if this is the right way to get the things done?
    As a side note:
    I work in a multi-track development environment. Every track has inside a project representing a specific workflow. Could it be possible to have a single EJB, placed in a track, to handle all the callback request from all the workflows from different tracks?
    Thank you,
    Pietro

    Hi,
    a little update...
    I've made the EJB work! This is an excerpt of the code:
    @Stateless
    public class ActivationCallbackBean implements ActivationCallbackLocal {
         // FUNCTION NAMESPACE
         private static final String NAMESPACE_FUNCTION_PARAMETER = "mycompany.com/mctfc_invoice_approve";
         // PARAMETER NAMES
         private static final String P_ID = "ID";
         // PARAMETER LOOKUP NAME
         private static final String NAME_PROPERTY_INPUT_ID = SdoRenamingHelper
         .renameXsdElementToSdoProperty(new QName(
                   NAMESPACE_FUNCTION_PARAMETER, P_ID), false);
         public DataObject invokeSdo(DataObject input, InvocationContext invContext) {
              boolean isBackendCallSuccessful = true;
              Type typeInput = input.getType();
              String id = input.getString(typeInput
                        .getProperty(NAME_PROPERTY_INPUT_ID));
    Now, as I said I have multiple workflows and I'd like to have only one EJB to handle all the calls. In order to do that I've added a special input parameter to discriminate which workflow is the "caller". But I've got a problem. When I define in Process Composer an EJB Function under "Rules and functions" in order to point to the EJB, i got a fixed value for the namespace.
    Since the namespace is mandatory to retrieve the input values in the EJB and the namespace is based on the workflow I'm working with:
    NAMESPACE_FUNCTION_PARAMETER = "mycompany.com/mctfc_invoice_approve";
    (mctfc_invoice_approve is the name of one of the workflows) what can I do to have only one EJB and overcome this limitation? Is this possible?
    Thank you,
    Pietro
    Edited by: pietro.m on Apr 4, 2011 5:09 PM

  • Calling Interactive Adobe Form from workflow work-item

    Hi Experts,
    Here is the requirement.
    WE have Interactive Adobe Form developed and now the requirement is to call this form in our workflow as work-item.
    When the work-item agent double-click on the work-item he must call the adboe form.
    Please provide your inputs/suggestions/Solution/Tips.
    Regards
    Krishna

    Hi Gurprit,
    Thanks for answering my question , appreciated.
    When I am in transaction SWFVISU in the drop-down for the Visualization type I dont see "Adobe Form" .  Whether we need to create an ABAP Webdynpro to call Adobe form.
    Please explain.
    Regards
    Krishna

  • Urgetn - Can you call a url from a workflow?

    Hey,
    Does anyone know if you can call a url from a workflow?
    Your urgent attention would be grateful.

    I have done this in a form. You could put a manual action to call the form then display the url (Technical Reference 3-14)
    <Field>
    <Display class='Link'>
    <Property name='name' value='Request
    Group Access'/>
    <Property name='URL'
    value='user/processLaunch.jsp?newView=true'>
    <Property name='id' value='Group Request
    Process'/>
    </Display>
    </Field>
    Hope this helps
    BigBenny

  • Call business event from oracle workflow

    Hi,
    how to call business event from oracle workflow ?
    if possible, could you give any sample code.
    Thanks.

    In short terms: assign values to the attributes that compose the payload of the event. Then raise it. Here a simple example of raising the Flex Field compilation event:
    declare
    l_application_id fnd_application.application_id%TYPE := &1;
    l_descriptive_flexfield_name varchar2(200) := '&2';
    l_application_short_name fnd_application.application_short_name%TYPE;
    l_parameters wf_parameter_list_t := wf_parameter_list_t();
    begin
    SELECT application_short_name
    INTO l_application_short_name
    FROM fnd_application
    WHERE application_id = l_application_id;
    wf_event.addparametertolist(p_name => 'APPLICATION_SHORT_NAME',
    p_value => l_application_short_name,
    p_parameterlist => l_parameters);
    wf_event.addparametertolist(p_name => 'APPLICATION_ID',
    p_value => l_application_id,
    p_parameterlist => l_parameters);
    wf_event.addparametertolist(p_name => 'DESCRIPTIVE_FLEXFIELD_NAME',
    p_value => l_descriptive_flexfield_name,
    p_parameterlist => l_parameters);
    wf_event.raise(p_event_name => 'oracle.apps.fnd.flex.dff.compiled',
    p_event_key => (l_application_short_name || '.' ||l_descriptive_flexfield_name),
    p_event_data => NULL,
    p_parameters => l_parameters,
    p_send_date => Sysdate);
    end;
    Regards.

  • Calling Shell Scripts in Business Workflow and Guided Procedures

    Hi *,
    is it possible to call shell scripts in business workflow and guided procedures? would need further documentation (how to, blog,...) about this issue.
    Thx in advance,
    Rene.

    Hello,
    Workflows consist of tasks.
    A task executed an object's method.
    Methods are written in ABAP.
    In the method you can code whatever you like, including code to execute shellscripts.
    How to do this is not really a workflow question, I would suggest asking in an ABAP forum on how to write a function module to do this in a pure ABAP context. Then it's just a matter of inserting it into a method for use in your WF.
    Cheers,
    Mike

  • Calling WLI Workflows from JSP/servlets

    Hello,
    I'm looking for some help with WLI workflows.
    I want to create a JSP/Servlet that starts a workflow to request some
    data.
    I understand how to start a workflow by placing a message on a JMS
    queue, but I am unsure of how to get a response back from the workflow.
    How does a work flow return a result to a client?
    Does the workflow place the result onto a JMS queue? If so, how does the
    result message get associated with the request message? Is there any
    mechanisms to do this, or do I need to write this on my own?
    Would the servlet/JSP block until the response is returned, or does it
    need to poll some other queue?
    Any advice would be appreciated.
    Thanks
    Alan

    Alan
    Currently you do not need JMS to return a result. Here is a sample jsp
    based worklist, you can use this to see how to start one using the worklist
    api, however, what exactly do you want to return. ?
    Tony
    "Alan Mangroo" <[email protected]> wrote in message
    news:[email protected]..
    Hello,
    I'm looking for some help with WLI workflows.
    I want to create a JSP/Servlet that starts a workflow to request some
    data.
    I understand how to start a workflow by placing a message on a JMS
    queue, but I am unsure of how to get a response back from the workflow.
    How does a work flow return a result to a client?
    Does the workflow place the result onto a JMS queue? If so, how does the
    result message get associated with the request message? Is there any
    mechanisms to do this, or do I need to write this on my own?
    Would the servlet/JSP block until the response is returned, or does it
    need to poll some other queue?
    Any advice would be appreciated.
    Thanks
    Alan
    [worklist.zip]

  • Call external RFC in a workflow

    Hi!
    I'm going through the tutorials at
    http://help.sap.com/saphelp_46c/helpdata/en/fb/1359c4457311d189440000e829fbbd/frameset.htm.
    I had a question - as one of the steps in the workflow, is it possible to call an RFC on an external system (a destination defined via SM 59), get the response back, and use that response in the next step in the workflow, which again calls another RFC on an external system?
    Thanks,
    Mustansir

    Yes, you can achieve that by using the corresponding methods of the activity defined.
    Regards, IA

  • Calling BD87 transaction in a workflow

    Hi expert,
                        I have to send a mail into sap inbox from my workflow when user accept the mail it will  call BD87 transaction.can anyone tell me how can I do this? because I am new in workflow? One more thing is there any satandard event or change document  availabe for transaction BD87.

    Hello,
    You could send an email that has a URL link to run transaction BD87.
    This is not really a workflow question per se.... unless you want to send ths mail from a workitem.
    By the way, it may not be necessary for a user to manually run BD87. Have you considered scheduling
    various programs (eg RBDMANI2 and RBDAPP01) to process stalled idocs automatically, on a regular basis?
    cheers
    Paul Bakker
    Hanabi Technology

  • How to use @jws:sql call Stored Procedure from Workshop

    Is there anyone know how to use @jws tag call Sybase stored procedure within
    Workshop,
    Thanks,

    Anurag,
    Do you know is there any plan to add this feature in future release? and
    when?
    Thanks,
    David
    "Anurag Pareek" <[email protected]> wrote in message
    news:[email protected]..
    David,
    In the current release, we do not support calling stored procedures from a
    database control. You will have to write JDBC code in the JWS file to call
    stored procedures.
    Regards,
    Anurag
    Workshop Support
    "David Yuan" <[email protected]> wrote in message
    news:[email protected]..
    Anurag,
    I know how to use DB connection pool and create a db control with it. In
    fact, we have created a Web Service with the db control using plain SQL
    in
    @jws:sql. However, my question here is how to use @jws tag in Weblogic
    Workshop to create a Web Services based on Sybase stored procedure orany
    Stored Proc not plain SQL.
    Thanks,
    David
    "Anurag Pareek" <[email protected]> wrote in message
    news:[email protected]..
    David,
    You can use a database control to obtain a connection from any JDBC
    Connection Pool configured in the config.xml file. The JDBC Connectionpool
    could be connecting to any database, the database control is
    independent
    of
    that.
    Regards,
    Anurag
    Workshop Support
    "David Yuan" <[email protected]> wrote in message
    news:[email protected]..
    Is there anyone know how to use @jws tag call Sybase stored
    procedure
    within
    Workshop,
    Thanks,

  • Problem calling PL/SQL procedure from Workflow function activity.

    Hi,
    I am trying to call a PL/SQL procedure from within my workflow activity.
    While I am able to execute the procedure through SQLDeveloper, the workflow function does not seem to call it.
    It seems that custom PL/SQL procedures have to conform to certain standards to be called within workflow applications. I have written my procedure to conform to those standards (referred to the example workflows).
    Could someone please help me with it?
    Thanks and regards.

    Hi,
    When I've received enough alpha reviews of the first few chapters of my book, I'll make chapter five available, which deals with writing functions for Workflows.
    Matt
    Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
    http://www.workflowfaq.com
    http://forum.workflowfaq.com

  • How to call custom OAFregion in custom workflow

    Hi,
    We have created a custom workflow and we want the OAF regions to be called in that workflow.
    where should we call the OAF regions in the custom workflow
    Regards,
    Krishna

    Hi,
    I think you would get a better/faster response if you post your question in [Technology - OA Framework|http://forums.oracle.com/forums/forum.jspa?forumID=210] forum.
    Regards,
    Hussein

  • How to call Java Validations from MDM Workflow

    We have some Java Validations which have to be triggerd from the Workflow.
    We do <b>NOT</b> want to use the Enrichment Framework for doing this.
    How can we call these Java Validations from the Workflow?

    Hi Adhappan,
    As I see, these kinds of validations are not possible as of now. I'm not very sure if VISIO internally can refer to the JAVA validations, but otherwise this is not possible with current version of the product.
    Regards,
    Mausam

Maybe you are looking for