Calling a child workflow

Hi All,
I have slightly twisted version of the calling child workflow problem.
I have one parent workflow & 4 child workflows. Parent workflow has to call
a child workflow during run time. But the crux is parent workflow has to
decide on the run time which of the child workflows to invoke & call the
appropriate workflow accordingly.
Now the current WLI UI allows me to select the child workflow from a
drop-down kinda interface where all the "callable workflows" appear we have
to select one of them. Which is in a sense a hard coding of which child w/f
to call.
What I want is to select at the run time which of the child w/fs to invoke
then invoke them accordingly.
Is it possible to select the w/f to be called at run time ? If yes then how
Has anybody done something similiar ?
thanx in advance for help.

Hi
There are ways to do this. You could have cascading decision nodes which
decide which workflow to call (order by frequency). In this case you could
fall through to then next one if it is false. So you use a variable, based
on variable take the appropriate path
Tony
"Prashant Atgur" <[email protected]> wrote in message
news:[email protected]..
Hi All,
I have slightly twisted version of the calling child workflow problem.
I have one parent workflow & 4 child workflows. Parent workflow has tocall
a child workflow during run time. But the crux is parent workflow has to
decide on the run time which of the child workflows to invoke & call the
appropriate workflow accordingly.
Now the current WLI UI allows me to select the child workflow from a
drop-down kinda interface where all the "callable workflows" appear wehave
to select one of them. Which is in a sense a hard coding of which childw/f
to call.
What I want is to select at the run time which of the child w/fs to invoke
then invoke them accordingly.
Is it possible to select the w/f to be called at run time ? If yes thenhow
Has anybody done something similiar ?
thanx in advance for help.

Similar Messages

  • Refresh document call in RESTful workflow is taking long time.

    Hi,
    I am facing an issue with the Refresh Document step, in Raylight Workflow using RESTful API.
    We are using this Refresh Document call, To make the dataprovider mappings formed.
    For few WEBI documents, this Refresh document step is taking much time to complete. After some investigation, we got to know that there are a series of SQL scripts running against actual data source, for each Refresh Document call. If the SQL script is taking much time, then the refresh document call is taking much time as well.
    Up to now, we are able to solve this problem in some cases, Like below.
    1. For a WEBI Document with Contexts to Answers during Refresh Document:
    Ex:
    Method: PUT
    URI: http://localhost:6405/biprws/raylight/v1/documents/1111/parameters
    Request Body: (setting default Context)
    <parameters>
      <parameter>
        <id>3</id>
        <answer>
          <values>
            <value id="4">Context1</value>
          </values>
        </answer>
      </parameter>
    </parameters>
    Result: Success (No Time out Exception)
    2. For a WEBI Document with some prompts to Answers during Refresh Document:
    Ex:
    Method: PUT
    URI: http://localhost:6405/biprws/raylight/v1/documents/1111/parameters
    Request Body: (With Some Dummy Values)
    <parameters>
      <parameter type="prompt" optional="true">
        <id>1</id>
        <answer type="Text">
          <values>
            <value id="1">Dummy Text</value>
          </values>
        </answer>
      </parameter>
      <parameter type="prompt" optional="true">
        <id>3</id>
        <answer type="Numeric">
          <values>
            <value id="1">0</value>
          </values>
        </answer>
      </parameter>
    </parameters>
    Result: Success (No Time out Exception)
    3. For a WEBI Document with No prompts and No Contexts to Answers during Refresh Document:
    Ex:
    Method: PUT
    Request Body: (Empty)
    Result: Time Out Exception (from my C# code)
    Only In this scenario (3) i am facing issue, As I have no answers to set any default values to Parameters. So the SQL scripts are executing. Due to this, if there is any time taking scripts, then the Refresh document step is taking much time or even throwing Time out exception from my C# code. I tried by increasing the timeout for WebRequest in C#, But still not solved.
    For creation of a WEBI document, Can we skip the SQL scripts, running in Refresh Document API call?
    If yes, then please let me know your valuable ideas to solve my problem.
    Please let me know for more information.
    Thanks in advance.
    Thanks,
    Mahendra

    Hi Anthony,
    Yes, I tried creating same WEBI Document using Web Intelligence Rich Client and also using Web Intelligence from BI Launch Pad.
    On both WEBI Clients I am able to create the same WEBI Document, which I am trying to create using RESTful API.
    My observations are like below:
    Observation 1: After selecting required Result Objects/columns in Query Panel, by clicking on Close -> Apply Changes and Close button, I can create the WEBI Document and Save it successfully.
    Observation 2: After selecting required Result Objects/columns in Query panel, If I click on Run Query, It is taking much time to bring fresh data.
    Just like in my first observation, I am only looking for creating WEBI Documents successfully, without bringing fresh data. It is enough for me, If I can create the WEBI documents from RESTful API successfully. Here I am not looking for any fresh data from this Refresh Document step, except the dataprovider mappings.
    As mentioned in my previous reply, Without dataprovider mappings, we are unable update Report Specification. For this, to make the dataprovider mappings formed, we are using this Refresh Document step, After updating dataprovider specification
    Is this Refresh Document call required in Workflow?
    Please suggest me if any other REST API Call, that I can use to get the dataprovider mappings formed, other than Refresh Document step.
    Thanks in advance. Currect me if I am wrong.
    Thanks,
    Mahendra

  • Problems with BPEL API calling a BPEL workflow

    Hallo,
    i have copied my text from the Application-Server forum to this forum becouse here it is a better place for my problem.
    I have a problem with the BPEL API. I try to invoke a BPEL workflow with the BPEL API. Up to the Point where i call the BPEL workflow with the command "deliveryService.post(processName, action, nm);".
    When this command is processed i following error:
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
    It looks like i am missing a jar file, but in my Development tool an at the compilation i get no errors or warnings. Only when command above is called.
    The initialization of the deliveryService works fine.
    The only point i can image an error is at the definition of the jndi for the remote connection to BPEL. There i have following entry's:
    jndiProviderUrl = "http:ormi://server:port:instance/orabpel";
    jndiFactory = "oracle.j2ee.rmi.RMIInitialContextFactory";
    jndiUsername = "xxx";
    jndiPassword = "yyy";
    I get folowing errror message:
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
    at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
    at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
    Please can someone tell me what i am doing wrong?
    BS
    PS: i used following tutorial to create my code for calling BPEL:
    http://www.oracle.com/technology/products/ias/bpel/pdf/orabpel-Tutorial7-InvokingBPELProcesses.pdf

    got some steps more ... but now i havent any clue. Out of this message i think my ProviderURL is wrong. but i try this both and got always the same error message.
    jndiProviderUrl = "opnm:ormi://amy:6003/orabpel"
    jndiProviderUrl = "opnm:ormi://amy:6003:oc4j_soa/orabpel"
    java.lang.Exception: Erstellen von "ejb/collaxa/system/DeliveryBean"-Bean nicht erfolgreich. Es wurde folgende Exception gemeldet: "javax.naming.NamingException: Invalid provider URL
         at com.evermind.server.rmi.RMILocation.createRMILocation(RMILocation.java:80)
         at com.evermind.server.rmi.RMILocation.createRMILocation(RMILocation.java:57)
         at com.evermind.server.rmi.RMIClient.getLocations(RMIClient.java:661)
         at com.evermind.server.rmi.RMIClient.getDomain(RMIClient.java:640)
         at com.evermind.server.rmi.RMIClient.getContext(RMIClient.java:534)
         at com.evermind.server.rmi.RMIInitialContext.get(RMIInitialContext.java:44)
         at oracle.j2ee.rmi.RMIInitialContextFactory.getInitialContext(RMIInitialContextFactory.java:45)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:277)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
    Please can someone help me?
    What is wrong wis my ProviderURL?
    BS

  • Variable to Child Workflow

    How can I share a variable from a top-level workflow with a Callable child workflow?
    I don't want to use an XML Event to trigger the child.
    Thanks,
    Ron

    I answered my own question by digging into the documents. The solution is to pass
    the variable in as a mandatory parameter:
    http://edocs.bea.com/wlintegration/v2_1/bpmtutor/ch3.htm#1276150
    -Ron
    "Ron Pragides" <[email protected]> wrote:
    >
    How can I share a variable from a top-level workflow with a Callable
    child workflow?
    I don't want to use an XML Event to trigger the child.
    Thanks,
    Ron

  • List not found error when a site workflow is called from list workflow

    Hi ,
    I have created a SharePoint 2013 list workflow , where in i call call 2010 site workflow.
    The 2010 site workflow has just a log message in it.
    when i run this 2013 workflow. it calls 2010 workflow , and then workflow status gives cancelled ,
    if I run site workflow independently it works, if i call a  2010 list workflow within 2013 workflow it works.
    The error message is list not found.
    Please provide me the solution for this,.
    Thanks,
    Suraj

    thanks for your reply . 
    yes ,  The workflow  history is associated and logging the logs . i have also tried associating the new workflow history. but still the same error

  • Unable to deserialize HTTP response content - SharePoint Designer Call Web Service Workflow Activity

    I am creating a workflow using SharePoint Designer 2013 and I'm using the call HTTP web service action.
    The web service call works (it is for a text messaging service, and I get the text message to my phone) however the workflow stops at this point with internal status "suspended" and gives the error message below when clicking on the "i"
    icon.
    I have tried setting the Accept and Content-Type request headers to "application/json; odata=verbose" (minus the quote marks) as other posts suggested but this doesn't make a difference (e.g. here: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/f0b18411-87d1-466b-aab0-1a0093605ed4/workflow-cannot-read-json-after-latest-sp15-patches?forum=sharepointdevelopment).
    I tried adding in the Content-Length header too but that made no difference.
    I tested calling another web service (https://sharepointurl/_api/contextinfo) and this works fine.
    Is there any way to get the workflow to accept this XML as the response? I don't actually really need anything out of the response content, but I do need the workflow to carry on after this step and carry out other activities after this call.
    Error message:
    Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.IO.InvalidDataException:
    Unable to deserialize HTTP response content. Expected ContentType : 'application/json', 'text/plain' or 'text/html', Received ContentType : 'text/xml'. Content (truncated) : '<?xml version="1.0" ?><outbound-message-delivery messageId="35d60bd2-a829-4382-8189-7a74de2d1cca"
    isError="false"><recipient msisdn="6427xxxxxxx" isError="false"></recipient></outbound-message-delivery>'. ResponseStatusCode : 'OK' Request Uri : 'https://www.txtserviceurl.co.nz/api/3/sms/out?to=6427xxxxxxx&body=test+from+workflow'
    at Microsoft.Activities.Messaging.SendHttpRequest.OnReceiveResponse(NativeActivityContext context, Bookmark bookmark, Object value) at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
    at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager) Exception from activity SendHttpRequest HttpPost Switch<String> Sequence Microsoft.SharePoint.WorkflowServices.Activities.CallHTTPWebService
    Stage 1 Sequence Flowchart Sequence Testing 

    Hi,
    Thank you for your post.
    I'm trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact 
    [email protected]
    Lisa Chen
    TechNet Community Support

  • Call transaction in Workflow doesn't work

    Hi all,
    I'm a strange problem.
    I built a call transaction in a FM. If I test the FM the call transaction works fine.
    if I put this FM in a workflow (in a class I build ad hoc for the WF) it doesn't work,
    I check in degub the import partameters and it is ok.
    I try to execute the FM also in UPDATE or in BACKGROUND task, or the call transaction in different MODE or UPDATE ways, but nothing.
    any idea?
    thanks
    enzo

    Hi,
    Whether your BDC code in your function module is requesting any input from user?.  If yes, make sure to pass values since you are calling through Workflow which dont popup BDC screens?.
    Let me know your scenario is different than I told here.
    Regards
    Krishna

  • HTTP call in a workflow using GetFolderByServerRelativeUrl returns Forbidden

    This is using Office365 SPO with a 2013 workflow being created in the 2013 Designer.
    We are trying to make a workflow (whose steps will later on be part of a larger) that simply does an HTTP GET call. We have a url variable set to https://xxxxx.sharepoint.com/sites/xxxx/_api/web/GetFolderByServerRelativeUrl('/sites/xxx/xxx')/files, headers
    Accept and Content-Type set to "application/json;odata=verbose" and Authorization as an empty string. In the call action the RequestType is GET, RequestHeaders has those values, and the ResponseContent/Headers are set to empty dictionaries with a
    ResponseStatusCode variable as an empty string. When the workflow is run the ResponseStatusCode is given a value of Forbidden. When the Authorization header part is missing it returns Unauthorized as per normal.
    Navigating to the web url shows the feed page with the correct number of file entries. However, the entries all contain 0 info in the response (I'm guessing that has to do with it being a url call instead of an actual REST call).
    Any ideas? This is making my and another employee's foreheads the same flatness as our desks.
    Note: Both of us are still fairly new as SP was tossed on our laps w/o any warning. So if it looks like any of this is a horrible way please say so, nicely ;)

    Hi Tanwedar,
    Thanks for posting your issue, Kindly browse the below mentioned URL to create workflow step by step using Designer 2013
    http://dinushaonline.blogspot.in/2014/07/sharepoint-2013-workflow-check-if.html
    I hope this is helpful to you. If this works, Please mark it as
    Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog :
    http://sharepoint-community.net/profile/DharmendraSingh

  • Calling BSP from Workflow

    Hi,
      Can we call an BSP page from within workflow step and can it show in Universal worklist of the Enterprise Portal?
      If it possible then from which version of Web application server and enterprise portal it is supported?
    Thank you
    arun

    I am imaginating that you what to put the web page as an attachment in a work item.
    Well, first try to put the URL of your app into the workitem description. If this solution is doesnt like you you can develop an ABAP application that shows your BSP and then just put this application in a transaction.
    Note: check this blog
    /people/thomas.jung3/blog/2004/08/26/updated-calling-a-bsp-application-from-a-sapgui-transaction
    Then create a METHOD (in your business object) that executes this transaction, and use this method in your step.
    Best regards
    Ariel

  • WKLPI Excpetion while calling a public workflow

    Hi,
    I am getting an error as follows
    Cannot identify a unique CA based on selection criterias.
    Exception while creating a subworkflow instance object.....
    I get this error while invoking a public workflow from a task.
    Has anyone encountered a similiar case....aor does anyine know how to rectify
    this error
    Regards
    Raj

    Seems like after calling a java method from a native code using JNIEnv*, it is not reusable. How can i achieve my goal ?By keeping instead another structure as a class variable: JavaVM*.
    With that variable you can retrieve JNIEnv* in each C++ method you need it.
    Suppose you want to use JNIEnv* in SomeCppClass::someCppMethod() method:class SomeCppClass {
    private:
        JavaVM * jvm;
    public:
        SomeCppClass();
        ~SomeCppClass();
        void someCppMethod();
    SomeCppClass::SomeCppClass() : jvm(NULL) {
        JavaVMInitArgs vm_args;
        JNIEnv * env;
        if (JNI_CreateJavaVM(&jvm, (void **)&env, &vm_args) != 0) {
            // some error handling
    SomeCppClass::~SomeCppClass() {
        if (jvm != NULL) {
            jvm->DetachCurrentThread();
            jvm->DestroyJavaVM();
        jvm = NULL;
    void SomeCppClass::someCppMethod() {
        JNIEnv * env;
        if (jvm->AttachCurrentThread((void **)&env, NULL) < 0) {
            // some error handling
    }Regards

  • Calling transaction from workflow step ?

    hi there,
    is there any business object or apab-class with which i can directly call a transaction ?
    i want to put in the fixed value PA71 for the transaction, and that should be started. but i can't find an OT for that !
    best reg, Martin

    Hello,
    Create a method in the custom business object that you use in the workflow. While creating the method, check radio button "Transaction" and specify the transaction code that you want to call.
    This radio button is present in the tab "ABAP" when you double click on the method.In this way you can call the TCode.
    Hope this will help.
    Regards,
    Sam

  • Problem in Calling BSP from Workflow

    Hi All,
         I have develpoed a workflow where in I am calling a BSP applicaiton , what ever the necessary steps that are required to take I did them perfectly and even Iam able to call the BSp application,This wrokflow is triggred from the portal when ever user clicks a link.
    Now the Problem is when I am directly executing the workflow from wrokflow builder directly it is opening the BSP application , but actually what should happen is a ACTIVITY is sent to SAP Business Wrok Place and fromt there if the AGENT executes the task then it should open the BSP aplication.
    Now In my case the BSP application is opening as soon as I execute the workflow directly and in the BUSINESS PLACE also the TASk is stored in the inbox .
    I want to open the BSp application only when AGENT executes the TASk from the Business Work Place
    What can be done , to over come this problem?
    PROBLEM SOLVED
    Thanks
    Pavan

    Could you please share the solution as it would be of great help?

  • CALLING BDC IN WORKFLOW

    HI
    I am trying to call a bdc in my workflow based on the user decission i.e. after user makes a particular decission it has to call BDC. I am using a call transaction statment for calling my BDC, I have defined a FM for the same the code i have written is : call transaction 'zapprove'  after this i have made a business object based on this and defined the task. I am calling the task after the user decission in order to run the BDC but it is not updating the required table. I have checked the BDC as well as FM and BO all of them are working fine so i am not able to find the particular error. Please help me on this.
    thanks in advance.

    ramu thanks a lot for your help but my problem is still there i am sending the whole codes that i am using in order to get BDC triggered from workflow just go through it and suggest me where i am going wrong. I also tried ur method but the problem remains to be same so please help me.
    FM CODE .
    FUNCTION ZBAPI_APPROVE.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(ZPERNR1) LIKE  ZAPPROVE-ZPERNR OPTIONAL
    *"  EXPORTING
    *"     VALUE(RETURN) LIKE  BAPIRETURN STRUCTURE  BAPIRETURN
    SUBMIT ZPZ03_BDC
    EXPORTING LIST TO MEMORY  AND RETURN.
    ENDFUNCTION.
    FM ENDS****************************************************
    **********************************BDC******************************************************
    report ZPZ03_BDC
           no standard page heading line-size 255.
    TABLES:ZPMC_B.
    DATA: IT_ZPMC_B LIKE ZPMC_B OCCURS 0 WITH HEADER LINE,
          WA_ZPMC_B LIKE LINE OF IT_ZPMC_B.
    DATA:BDCTAB LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
    DATA: ZBANKN(14),
          DATE1(10).
    *PARAMETERS: P_PERNR LIKE ZPMC_B-ZPERNR.
    SELECT SINGLE * FROM ZPMC_B INTO WA_ZPMC_B
                       WHERE ZSTATUS = 'WAITING'.
    *ZBANKN = WA_ZPMC_B-ZBANKN.
    perform bdc_dynpro      using 'SAPLEHC3' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Q0009_ESS-SUBTYPE'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=CHAN'.
    perform bdc_field       using 'Q0009_ESS-SUBTYPE'
                                  '0'.
    perform bdc_dynpro      using 'SAPLEHC3' '0200'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'P0009-BANKN'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SAVE'.
    CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
          EXPORTING
            DATE_INTERNAL = SY-DATUM
          IMPORTING
            DATE_EXTERNAL = DATE1.
    perform bdc_field       using 'P0009-BEGDA'
                                  DATE1.
    perform bdc_field       using 'P0009-BANKS'
                                  WA_ZPMC_B-ZBANKS.
    perform bdc_field       using 'P0009-BANKL'
                                  WA_ZPMC_B-ZBANKL.
    perform bdc_field       using 'P0009-BANKN'
                                  WA_ZPMC_B-ZBANKN.
    perform bdc_field       using 'P0009-ZLSCH'
                                  WA_ZPMC_B-ZZLSCH.
    CALL TRANSACTION  'PZ03' USING BDCTAB MODE 'N'
                                         UPDATE 'S'.
        WA_ZPMC_B-ZA_DATE = SY-DATUM.
        WA_ZPMC_B-ZSTATUS = 'COMPLETED'.
        MODIFY ZPMC_B  FROM WA_ZPMC_B.
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR BDCTAB.
      BDCTAB-PROGRAM  = PROGRAM.
      BDCTAB-DYNPRO   = DYNPRO.
      BDCTAB-DYNBEGIN = 'X'.
      APPEND BDCTAB.
    ENDFORM.
           Insert field                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
        CLEAR BDCTAB.
        BDCTAB-FNAM = FNAM.
        BDCTAB-FVAL = FVAL.
        APPEND BDCTAB.
    ENDFORM.
    *******************************************BDC ENDS*************************************
    *******************************************BO***********************************************
              Implementation of object type ZAPPROVE             *****
    INCLUDE <OBJECT>.
    BEGIN_DATA OBJECT.  " Do not change.. DATA is generated
    only private members may be inserted into structure private
    DATA:
    " BEGIN OF PRIVATE,
    "   to declare private attributes remove comments and
    "   insert private attributes here ...
    " END OF PRIVATE,
      KEY LIKE SWOTOBJID-OBJKEY.
    END_DATA OBJECT.    " Do not change.. DATA is generated
    BEGIN_METHOD ZBAPIAPPROVE CHANGING CONTAINER.
    DATA:
          ZPERNR1 TYPE ZAPPROVE-ZPERNR,
          RETURN LIKE BAPIRETURN.
      SWC_GET_ELEMENT CONTAINER 'Zpernr1' ZPERNR1.
      CALL FUNCTION 'ZBAPI_APPROVE'
        EXPORTING
          ZPERNR1 = ZPERNR1
        IMPORTING
          RETURN = RETURN
        EXCEPTIONS
          OTHERS = 01.
        CASE SY-SUBRC.
          WHEN 0.            " OK
          WHEN OTHERS.       " to be implemented
        ENDCASE.
        SWC_SET_ELEMENT CONTAINER 'Return' RETURN.
      END_METHOD.
    ************************************BO ENDS**********************************************
    when i test my BO it is working perfectly and as far as i know there is no programming part included during task defination so i am not able to follow up where i am going wrong.
    Please help me on this.
    Thanks in advance.
    Saurabh Anand
    [email protected].

  • Calling RH_RELATION_DELETE in Workflow

    Hi Guys,
    RH_RELATION_DELETE deletes a specified relationship record from table HRP1001.
    I have a Workflow -> Task -> BOR method which calls the RH_RELATION_DELETE function.
    The issue is that the task keeps running and never completes. It is always "In Process".
    I figure maybe it has to do with the fact that there is a pop up in the RH_RELATION_DELETE function.
    I.E: I ran the function in SE37, and it gave me a pop up to confirm the deletion of the record in HRP1001.
    What can I do so that this function executes successfully in a task?
    Here is how I call the FM in my BOR method:
    CALL FUNCTION 'RH_RELATION_DELETE'
      EXPORTING
        relation            = li_relation
        FCODE               = 'DEL'
    EXCEPTIONS
       NOT_FOUND           = 1
       INVALID_FCODE       = 2
       NO_CHANGE           = 3
       OTHERS              = 4

    I'll give it a try.
    The 'In progress' task has not yet time out.
    WIll it time out? Is there any way to end it?
    Its been in progress the whole day now.
    I've checked ST22 , I can see a dump under WF-BATCH called DYNPRO_SEND_IN_BACKGROUND. I think this was caused by the pop up.
    Thanks Rob

  • How to call transaction in workflow

    Hi All,
    I want to call transaction in my workflow .
    Can anyone tell me about it?

    Hi,
    first create activity task in workflow. create a new methos inside BO.
    Then call the FM 'ABAP4_CALL_TRANSACTION' in the BO method.
    use this FM for call transaction from ABAP code.
    Regards,
    Jyothi CH.

Maybe you are looking for