Xml in workflow

Hello,
Can someone plz help me with following problem.
I would like to start a business event with as attribute an xml document.
Depending on a certain tag in the xml file, another business event should be started.
How do i 'connect' an xml document to a business event ?
If i do this, can I use an external java program to fetch the necessary tag en startup another business event ?
Do i need to do this myself, or can oracle workflow start a business event depending on a value in an xml document.
tnx,
Chris.

Hi Chris
When raise a business event using the wf_event.raise API, you can set an XML document in the Event Data argument. The initial event could be a generic "xml.receive" event. As you say, you could then use the standard CompareXML or GetXML function activities to then determine the next event to be raised using an XPATH expression.
Cheers
Mark
Hello,
Can someone plz help me with following problem.
I would like to start a business event with as attribute an xml document.
Depending on a certain tag in the xml file, another business event should be started.
How do i 'connect' an xml document to a business event ?
If i do this, can I use an external java program to fetch the necessary tag en startup another business event ?
Do i need to do this myself, or can oracle workflow start a business event depending on a value in an xml document.
tnx,
Chris.

Similar Messages

  • Indesign XML-IN workflow - Anchoring issues

    Hi all,
    We are using Indesign CS5.5 and CS6.
    For XML-IN workflow, we have developed a in-house tool for automation.
    Marginal Notes: Using Script we drag the content from the XML tree and anchor it in Margin as per layout.
    The issue here: In Pagination if they release the anchor the marginal content become Non-XML and wiped out from the XML tree.
    Is there is any work-around to handle these types of issues.
    Please advice.
    Shaji

    Hello Shaji.
    As far as i know there is no solution for this. I'we been struggling with it for a while now. The only "workaround" i found was to use copy-paste instead of releasing the anchor:
    Select the anchored frame, copy it, paste it in place, then remove the old anchor. It should create a new Story element in the XML tree. 
    It's not hard to script, if all you need is to release all anchors from the document/story, for example

  • Workflow Issue - Delivery address XML Reference workflow - Error

    Hello All,
    I am an ABAP developer, with very limited knowledge in Workflow, and I am stuck with an ongoing issue for quite sometime. We have a scenario where we need to a workflow triggers for a specific UNDATED sales order lines (identified by values in VBAP-Zfield ) in R/3 box, and it carries an XML request (probably mails it) to a SAP CRM destination, which would now update some CRM tables and generate a Call list in the SAP CRM box. This is one flow that used to be fine, but has stopped working since the past few months may because of some change, which is not yet identified. as multiple projects are working on the same boxes.
    To elaborate -
    1 - We have a SALESORDER_CREATEFROMDAT2 Idoc creating the SO, where in, based on a CUTOFF date condition, (if it is in the past), a VBAP-ZFIELD for the corresponding line is set to a value (08).
    2 - This event is expected to trigger a workflow for the Undated order/Delivery resolution , which would then create an XML doc for the SO and send this across to CRM box
    3 -This will then update a Ztable. This will be handled by a batch job in CRM to generate a call list.
    Now we are facing a problem in the second step here, where in the activity - 'BCKGRD: Create XML_DOC for SO: xxxxxxxx' is completing successfully, but having a failure in the next step  - 'Delivery address XML Reference workflow - ERROR'
    This is how the detailed workflow log looks -
    WF-BATCH                  Web work item created                               03.04.2014 08:12:29
    WF-BATCH                  Execution started automatically                   03.04.2014 08:12:29
    WF-BATCH                  CL_SWF_RUN_ALERT_ERROR                   03.04.2014 08:12:31
    WF-BATCH                    IF_SWF_UTL_MAIL~SEND                      03.04.2014 08:12:31
    WF-BATCH                  SWW_RI_EXECUTE_S                            03.04.2014 08:12:31
    WF-BATCH                    SWW_RI_EXECUTE_S                           03.04.2014 08:12:31
    WF-BATCH                  Execution started automatically                      03.04.2014 08:12:31
    WFXML                     START_EXECUTION_IN_BACKGROUND            04.04.2014 04:00:35
    WF-BATCH                  Execution started                                          04.04.2014 04:00:36
    WF-BATCH                  CL_SWF_RUN_ALERT_ERROR                   04.04.2014 04:00:44
    WF-BATCH                    IF_SWF_UTL_MAIL~SEND                   04.04.2014 04:00:44
    WF-BATCH                  Execution started                                     04.04.2014 04:00:45
    WF-BATCH                    SWW_RI_EXECUTE_S                       04.04.2014 04:00:45
    I've also attached a screenshot for the errors, if that gives a clue.
    Request all the workflow experts to help me with a solution, or an approach towards a fix.
    Thanks & Regards,
    S Sen.

    Hi S Sen,
    Agree with Ronen....no mail recipient or from 10 records of mail recipient - one record is empty.
    Try to find out the intended email recipients....any data change there might have resulted in errors since few months. Maybe, some position got vacant, some config table to get the recipients got changed.....
    regards,
    Modak

  • Can someone tell me how to work with XML and workflow?

    Ive insert a XML file in a CLOB data type column of a table. Now I want to
    use some tags of this clob in a process of ora workflow. I know that there is a standard function get tag, but how can I say where the tag must get his information?
    Oracle should foreseen a document with step-by-step instructions, how to use XML in Oracle workflow. There is nothing to find on OTN or Metalink or even the internet to do this.
    Thanks for your time

    If you are using the standard XML Get Tag Value activity, you can specify the tag set in XPath notation. For details about this notation, see the W3C Recommendation "XML Path Language (XPath)". Note that this standard activity looks for the CLOB within an event message structure. See:
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/workflow.920/a95265/std21.htm#xmlgettval
    Ive insert a XML file in a CLOB data type column of a table. Now I want to
    use some tags of this clob in a process of ora workflow. I know that there is a standard function get tag, but how can I say where the tag must get his information?
    Oracle should foreseen a document with step-by-step instructions, how to use XML in Oracle workflow. There is nothing to find on OTN or Metalink or even the internet to do this.
    Thanks for your time

  • Input XML to workflow fails

    Hi all..
    I m trying to send an XML to trigger a workflow and when the XML is sent from
    an application intended for a particular workflow...i get the following error
    on the console...
    java.lang.NumberFormatException:
    at java.lang.Long.parseLong(Long.java:331)
    at java.lang.Long.parseLong(Long.java:363)
    at com.bea.wlpi.evaluator.Comparison.evaluate(Comparison.java:195)
    at com.bea.wlpi.evaluator.And.evaluate(And.java:40)
    at com.bea.wlpi.evaluator.Expression.evaluate(Expression.java:315)
    at com.bea.wlpi.evaluator.Expression.evaluate(Expression.java:288)
    at com.bea.wlpi.evaluator.Expression.evaluateCondition(Expression.java:223)
    at com.bea.wlpi.server.eventprocessor.EventTrigger.evaluate(EventTrigger.java:241)
    at com.bea.wlpi.server.eventprocessor.EventTrigger.checkTrigger(EventTrigger.java:138)
    at com.bea.wlpi.server.eventprocessor.EventProcessor.onEvent(EventProcessor.java:144)
    at com.bea.wlpi.server.eventlistener.EventListenerBean.onMessage(EventListenerBean.java:52)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1933)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:1892)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.Kernel.execute(Kernel.java:250)
    at weblogic.jms.client.JMSSession.pushEnvelope(JMSSession.java:1779)
    at weblogic.jms.client.JMSCallback.pushEnvelope(JMSCallback.java:69)
    at weblogic.jms.frontend.FESession.execute(FESession.java:1972)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Unknown error: com.bea.wlpi.common.WorkflowException: The server was unable to
    complete your request.
    Unknown error: com.bea.wlpi.common.WorkflowException: The server was unable to
    complete your request.
    at com.bea.wlpi.server.eventprocessor.EventProcessor.onEvent(EventProcessor.java:163)
    at com.bea.wlpi.server.eventlistener.EventListenerBean.onMessage(EventListenerBean.java:52)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1933)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:1892)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.Kernel.execute(Kernel.java:250)
    at weblogic.jms.client.JMSSession.pushEnvelope(JMSSession.java:1779)
    at weblogic.jms.client.JMSCallback.pushEnvelope(JMSCallback.java:69)
    at weblogic.jms.frontend.FESession.execute(FESession.java:1972)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Nested exception is: java.lang.NumberFormatException:
    at java.lang.Long.parseLong(Long.java:331)
    at java.lang.Long.parseLong(Long.java:363)
    at com.bea.wlpi.evaluator.Comparison.evaluate(Comparison.java:195)
    at com.bea.wlpi.evaluator.And.evaluate(And.java:40)
    at com.bea.wlpi.evaluator.Expression.evaluate(Expression.java:315)
    at com.bea.wlpi.evaluator.Expression.evaluate(Expression.java:288)
    at com.bea.wlpi.evaluator.Expression.evaluateCondition(Expression.java:223)
    at com.bea.wlpi.server.eventprocessor.EventTrigger.evaluate(EventTrigger.java:241)
    at com.bea.wlpi.server.eventprocessor.EventTrigger.checkTrigger(EventTrigger.java:138)
    at com.bea.wlpi.server.eventprocessor.EventProcessor.onEvent(EventProcessor.java:144)
    at com.bea.wlpi.server.eventlistener.EventListenerBean.onMessage(EventListenerBean.java:52)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1933)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:1892)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.Kernel.execute(Kernel.java:250)
    at weblogic.jms.client.JMSSession.pushEnvelope(JMSSession.java:1779)
    at weblogic.jms.client.JMSCallback.pushEnvelope(JMSCallback.java:69)
    at weblogic.jms.frontend.FESession.execute(FESession.java:1972)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Nested exception is: java.lang.NumberFormatException:
    at java.lang.Long.parseLong(Long.java:331)
    at java.lang.Long.parseLong(Long.java:363)
    at com.bea.wlpi.evaluator.Comparison.evaluate(Comparison.java:195)
    at com.bea.wlpi.evaluator.And.evaluate(And.java:40)
    at com.bea.wlpi.evaluator.Expression.evaluate(Expression.java:315)
    at com.bea.wlpi.evaluator.Expression.evaluate(Expression.java:288)
    at com.bea.wlpi.evaluator.Expression.evaluateCondition(Expression.java:223)
    at com.bea.wlpi.server.eventprocessor.EventTrigger.evaluate(EventTrigger.java:241)
    at com.bea.wlpi.server.eventprocessor.EventTrigger.checkTrigger(EventTrigger.java:138)
    at com.bea.wlpi.server.eventprocessor.EventProcessor.onEvent(EventProcessor.java:144)
    at com.bea.wlpi.server.eventlistener.EventListenerBean.onMessage(EventListenerBean.java:52)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1933)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:1892)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.Kernel.execute(Kernel.java:250)
    at weblogic.jms.client.JMSSession.pushEnvelope(JMSSession.java:1779)
    at weblogic.jms.client.JMSCallback.pushEnvelope(JMSCallback.java:69)
    at weblogic.jms.frontend.FESession.execute(FESession.java:1972)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    n e idea as to how can i fix this............

    Hi
    There is a way to turn on debug info for the eventProcessor so as to
    allow you to see oncoming messages etc. To do this simply alter the
    startWeblogic command to include the following option
    "-Dwli.bpm.server.eventprocessor.debug=1". Output will then be posted to the
    console
    Tony
    Senior WLI Engineer
    "Edward Arnold" <[email protected]> wrote in message
    news:[email protected]...
    >
    Rathin,
    I don't have all the specifics as to what you are supplying in
    the XML, but your error appears to be caused from the value that
    you are parsing not being all numeric.
    Instead of doing this parse, change it to just retrieve a string
    (using a new variable) and examine the value of the string to see
    what it contains.
    Eddie
    "Rathin" <[email protected]> wrote:
    Hi all..
    I m trying to send an XML to trigger a workflow and when the XML is sent
    from
    an application intended for a particular workflow...i get the following
    error
    on the console...
    java.lang.NumberFormatException:
    at java.lang.Long.parseLong(Long.java:331)
    at java.lang.Long.parseLong(Long.java:363)
    at
    com.bea.wlpi.evaluator.Comparison.evaluate(Comparison.java:195)
    at com.bea.wlpi.evaluator.And.evaluate(And.java:40)
    atcom.bea.wlpi.evaluator.Expression.evaluate(Expression.java:315)
    atcom.bea.wlpi.evaluator.Expression.evaluate(Expression.java:288)
    atcom.bea.wlpi.evaluator.Expression.evaluateCondition(Expression.java:223)
    atcom.bea.wlpi.server.eventprocessor.EventTrigger.evaluate(EventTrigger.java:2
    41)
    atcom.bea.wlpi.server.eventprocessor.EventTrigger.checkTrigger(EventTrigger.ja
    va:138)
    atcom.bea.wlpi.server.eventprocessor.EventProcessor.onEvent(EventProcessor.jav
    a:144)
    atcom.bea.wlpi.server.eventlistener.EventListenerBean.onMessage(EventListenerB
    ean.java:52)
    atweblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
    atweblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1933)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:1892)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.Kernel.execute(Kernel.java:250)
    atweblogic.jms.client.JMSSession.pushEnvelope(JMSSession.java:1779)
    atweblogic.jms.client.JMSCallback.pushEnvelope(JMSCallback.java:69)
    at weblogic.jms.frontend.FESession.execute(FESession.java:1972)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Unknown error: com.bea.wlpi.common.WorkflowException: The server was
    unable to
    complete your request.
    Unknown error: com.bea.wlpi.common.WorkflowException: The server was
    unable to
    complete your request.
    atcom.bea.wlpi.server.eventprocessor.EventProcessor.onEvent(EventProcessor.jav
    a:163)
    atcom.bea.wlpi.server.eventlistener.EventListenerBean.onMessage(EventListenerB
    ean.java:52)
    atweblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
    atweblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1933)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:1892)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.Kernel.execute(Kernel.java:250)
    atweblogic.jms.client.JMSSession.pushEnvelope(JMSSession.java:1779)
    atweblogic.jms.client.JMSCallback.pushEnvelope(JMSCallback.java:69)
    at weblogic.jms.frontend.FESession.execute(FESession.java:1972)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Nested exception is: java.lang.NumberFormatException:
    at java.lang.Long.parseLong(Long.java:331)
    at java.lang.Long.parseLong(Long.java:363)
    atcom.bea.wlpi.evaluator.Comparison.evaluate(Comparison.java:195)
    at com.bea.wlpi.evaluator.And.evaluate(And.java:40)
    atcom.bea.wlpi.evaluator.Expression.evaluate(Expression.java:315)
    atcom.bea.wlpi.evaluator.Expression.evaluate(Expression.java:288)
    atcom.bea.wlpi.evaluator.Expression.evaluateCondition(Expression.java:223)
    atcom.bea.wlpi.server.eventprocessor.EventTrigger.evaluate(EventTrigger.java:2
    41)
    atcom.bea.wlpi.server.eventprocessor.EventTrigger.checkTrigger(EventTrigger.ja
    va:138)
    atcom.bea.wlpi.server.eventprocessor.EventProcessor.onEvent(EventProcessor.jav
    a:144)
    atcom.bea.wlpi.server.eventlistener.EventListenerBean.onMessage(EventListenerB
    ean.java:52)
    atweblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
    atweblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1933)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:1892)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.Kernel.execute(Kernel.java:250)
    atweblogic.jms.client.JMSSession.pushEnvelope(JMSSession.java:1779)
    atweblogic.jms.client.JMSCallback.pushEnvelope(JMSCallback.java:69)
    at weblogic.jms.frontend.FESession.execute(FESession.java:1972)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Nested exception is: java.lang.NumberFormatException:
    at java.lang.Long.parseLong(Long.java:331)
    at java.lang.Long.parseLong(Long.java:363)
    atcom.bea.wlpi.evaluator.Comparison.evaluate(Comparison.java:195)
    at com.bea.wlpi.evaluator.And.evaluate(And.java:40)
    atcom.bea.wlpi.evaluator.Expression.evaluate(Expression.java:315)
    atcom.bea.wlpi.evaluator.Expression.evaluate(Expression.java:288)
    atcom.bea.wlpi.evaluator.Expression.evaluateCondition(Expression.java:223)
    atcom.bea.wlpi.server.eventprocessor.EventTrigger.evaluate(EventTrigger.java:2
    41)
    atcom.bea.wlpi.server.eventprocessor.EventTrigger.checkTrigger(EventTrigger.ja
    va:138)
    atcom.bea.wlpi.server.eventprocessor.EventProcessor.onEvent(EventProcessor.jav
    a:144)
    atcom.bea.wlpi.server.eventlistener.EventListenerBean.onMessage(EventListenerB
    ean.java:52)
    atweblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
    atweblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1933)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:1892)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.Kernel.execute(Kernel.java:250)
    atweblogic.jms.client.JMSSession.pushEnvelope(JMSSession.java:1779)
    atweblogic.jms.client.JMSCallback.pushEnvelope(JMSCallback.java:69)
    at weblogic.jms.frontend.FESession.execute(FESession.java:1972)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    n e idea as to how can i fix this............

  • Table Handling in XML Indesign Workflow

    Hi all,
    I have a question related to the table handling in XML workflow.
    The XML file have been imported to indesign for pagination purpose. Once the XML file have been imported all the tables and figure are came in Text Streams as INLINE, to make the figures and tables as floats we are draging from the XML structure to make it as floating instead of Inline, this is working for Figure.
    I am not able to drag the tables from the XML structure.
    Please help us to make the table float, is there is any script to make the table float or any other way.......
    kavya

    Hi Kavya,
    You have to create a dummy parent tag, now you can drag the parent tag to the frame.
    Regards,
    sudar

  • Mailing XML to Workflow Server - and merge

    I have a form created in Designer 7.0 - that I have posted on our web-site. Therefore it is a stand alone PDF file. I have it set it to submit the XML data via e-mail to our Workflow Server 6.2. When the server received the e-mail... it initiates a new Workflow and makes the appropriate assignment based on the rules.
    However, it is not merging the XML data into the PDF. Maybe this should be posted in the Workflow forum... Has anyone else run into this? Am I missing a programming step? I assumed that the merge would be inherent in the Workflow system.
    Thanks for the advice.
    jra

    Hi Daniel and thank you in advance for availability.
    The code is good for me ... to do something like this:
          lv_null_string = cl_abap_conv_in_ce => UCCP ('0000 ').
         LOOP AT lt_stream ASSIGNING <fs>.
           IF sy-tabix = lines (lt_stream). "only the last row must not be absolutely length
              FIND FIRST OCCURRENCE OF lv_null_string IN <fs>
                    IN BYTE MODE MATCH OFFSET lv_null_length.
              TRANSFER <fs> TO e_filename LENGTH lv_null_length.
           ELSE.
              TRANSFER <fs> TO e_filename.
           ENDIF.
         ENDLOOP.
         CLOSE DATASET e_filename.
    What do you think?
    Then I need your opinion, yesterday I turned the file, which was initially in BINARY MODE, in TEXT MODE, using:
    * Before the function
          CALL FUNCTION 'SCMS_BINARY_TO_STRING'
            EXPORTING
              input_length = lv_length
            IMPORTING
              text_buffer = lv_xml_string
            TABLES
              binary_tab = lt_stream
    * And then writing
         OPEN DATASET FOR OUTPUT IN TEXT MODE ENCODING UTF-8.
         TRANSFER lv_xml_string TO e_filename.
         CLOSE DATASET e_filename.
    Do you think this workaround will produce an equally correct file of XML or is it more correct (formally) write a binary file?
    I ask this because I don't understand why we are the only ones to have this kind of problem around ... there is no other case in SCN.

  • Folio XML file - workflow tips

    Hi,
    I have a interest to know more about the folio.xml file. The file stays inside the package .folio format
    Is there any tip or feature that I can use this xml file?
    Any tutorial about workflow with  XML and Folio formats
    Regards
    Felipe

    If you are creating several folio sizes for one issue this is a huge time saver. I use Sidecar Generator for my folio meta data. Here is the website http://projects.nordsueddesign.de/sidecarxml/# just need to enter the data, smooth scrolling, ad stuff and click generate, copy paste in to Dream Weaver and save as an XML and put it in with all your files that will be in the folio and load.
    It is very easy.

  • XML flow workflow

    I'm trying to import XML data into InDesign to create my pages. I've applied a simple XSLT transformation to organize the structure of the XML the way I need it.
    The problem I'm having is one of the elements isn't always in every node. If that element is in the current node, I want to add a return after it. If that element isn't in the current node, I don't want to add the return. How do I go about accomplishing that? Should I add it to my XSLT, and if so, what do I need to add? Do I add some type of processing instruction?  I've done some searches and can't seem to find the answer to my problem, any insight would be greatlly appreciated.
    Thanks in advance!

    I'm trying to import XML data into InDesign to create my pages. I've applied a simple XSLT transformation to organize the structure of the XML the way I need it.
    The problem I'm having is one of the elements isn't always in every node. If that element is in the current node, I want to add a return after it. If that element isn't in the current node, I don't want to add the return. How do I go about accomplishing that? Should I add it to my XSLT, and if so, what do I need to add? Do I add some type of processing instruction?  I've done some searches and can't seem to find the answer to my problem, any insight would be greatlly appreciated.
    Thanks in advance!

  • Remove ALL xml

    My company is changing processes away from an xml based workflow, so we have hundreds of InDesign files that need to have the xml removed. I'm writing a script that will do it automatically, but I'm having problems untagging all of the text. Most files have a structure like this:
    My starting script here:
    /*REMOVE TAGS*/
    myDoc.xmlElements[0].xmlElements.everyItem().untag();
    try{
    myDoc.xmlInstructions[0].remove();
    catch(e){};
    myDoc.deleteUnusedTags();
    var myRoot = myDoc.xmlTags[0].name;
    $.writeln(myRoot);
    myDoc.xmlTags.itemByName(myRoot).name = "Root";
    /*END REMOVE TAGS*/
    gives me this result:
    I need help untagging the text leftover in the 'Root' tag so that my final result is this:
    Any advice?

    @T-Stevens – we already had that solved here.
    See the following:
    Re: "Untag Frame" menu action is invalid [CS5 Win XP]
    Here the "long" version:
    Hans Haesler at www.hilfdirselbst.ch once wrote the following snippet:
    app.documents[0].xmlElements[0].xmlElements.everyItem().untag();
    The root element might be left over now.
    Gregor Fellenz did the following "hack" to get rid of it as well:
    var tempRect = app.documents[0].rectangles.add();
    tempRect.markup(app.documents[0].xmlElements[0]);
    tempRect.remove();
    Don't know, if that will work for you…
    Also see the following thread in German about it:
    <Root>-Tag von Rahmen entfernen - Adobe InDesign Skriptwerkstatt - HilfDirSelbst.ch - Forum
    Also the alternative solution with a script menu action by Hans Haesler:
    <Root>-Tag von Rahmen entfernen - Adobe InDesign Skriptwerkstatt - HilfDirSelbst.ch - Forum
    Uwe

  • Workflow Configuration has completed with error for OWF 2.6.4 on 11g DB

    ###Problem description###
    After installing Oracle DB 11.1.0.6 and configured the dbconsole, for setting up OWF have run the %ORACLE_HOME%\owb\wf\install\wfinstall.bat
    The input parameters were configured as to the information from http://www.oracle.com/technology/obe/11gr1_owb/owb11g_update_extend_knowledge/less1_setting_up/less1_setting_up.html.
    Unfortunately the process does not complete successfully and the log file contains the following errors:
    ================================================================================================
    1.
    WorkflowCA: SQLPLUS:SYS/ /nolog @E:\Oracle\product\11.1.0\db_1\owb\wf\sql\wfsysgnt.sql OWFMGR <WFCA WF PASSWORD> <WFCA SYS PASSWORD> USERS TEMP
    WorkflowCA: ORA-01775: looping chain of synonyms
    WorkflowCA: WorkflowCA: SQLException during execution: java.sql.SQLException: ORA-01775: looping chain of synonyms
    : grant execute on xmldom to OWFMGR
    2.
    WorkflowCA: SQLPLUS:OWFMGR/<WFCA WF PASSWORD> @E:\Oracle\product\11.1.0\db_1\owb\wf\sql\afsvcdat.sql
    WorkflowCA: java.sql.SQLException: ORA-04063: package body "OWFMGR.WF_EVENTS_PKG" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "OWFMGR.WF_EVENTS_PKG"
    ORA-06512: at line 3
    3.
    WorkflowCA: SQLPLUS:OWFMGR/<WFCA WF PASSWORD> @E:\Oracle\product\11.1.0\db_1\owb\wf\sql\wfsvcdat.sql
    WorkflowCA: java.sql.SQLException: ORA-04063: package body "OWFMGR.WF_EVENTS_PKG" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "OWFMGR.WF_EVENTS_PKG"
    ORA-06512: at line 3
    4.
    WorkflowCA: Executing :E:\Oracle\product\11.1.0\db_1\jdk\bin\java -jar E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\home\admin.jar ormi://localhost:6041 oc4jadmin welcome -application WFALSNRSVCApp -testDataSource -location jdbc/WorkflowDS -username OWFMGR
    WorkflowCA: :null for app:WFALSNRSVCApp
    WorkflowCA: subprocess.getOut():
    WorkflowCA: subprocess.getOut(): Error: Unable to find the administrator for application WFALSNRSVCApp
    WorkflowCA: Created a redirected data source with application WFALSNRSVCApp : E:\Oracle\product\11.1.0\db_1\jdk\bin\java -jar E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\home\admin.jar ormi://localhost:6041 oc4jadmin welcome -application WFALSNRSVCApp -installDataSource -url jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=BI221WIN))) -username OWFMGR -password ->pwForOwfMgr -className com.evermind.sql.DriverManagerDataSource -location jdbc/WorkflowDS -xaLocation jdbc/xa/WorkflowDS -ejbLocation jdbc/WorkflowDS -connectionDriver oracle.jdbc.driver.OracleDriver
    WorkflowCA: Executing :E:\Oracle\product\11.1.0\db_1\jdk\bin\java -jar E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\home\admin.jar ormi://localhost:6041 oc4jadmin welcome -application WFMLRSVCApp -testDataSource -location jdbc/WorkflowDS -username OWFMGR
    WorkflowCA: :null for app:WFMLRSVCApp
    WorkflowCA: subprocess.getOut():
    WorkflowCA: subprocess.getOut(): Error: Unable to find the administrator for application WFMLRSVCApp
    WorkflowCA: Created a redirected data source with application WFMLRSVCApp : E:\Oracle\product\11.1.0\db_1\jdk\bin\java -jar E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\home\admin.jar ormi://localhost:6041 oc4jadmin welcome -application WFMLRSVCApp -installDataSource -url jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=BI221WIN))) -username OWFMGR -password ->pwForOwfMgr -className com.evermind.sql.DriverManagerDataSource -location jdbc/WorkflowDS -xaLocation jdbc/xa/WorkflowDS -ejbLocation jdbc/WorkflowDS -connectionDriver oracle.jdbc.driver.OracleDriver
    WorkflowCA: subprocess.getOut(): Invalid input arguments.
    WorkflowCA: Workflow Configuration has completed with error.
    WorkflowCA: Terminating...
    ================================================================================================
    The data-sources.xml files for the WFALSNRSVCApp and WFMLRSVCApp from E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\OC4J_Workflow_Component_Container\application-deployments are configured as:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <data-sources>
    <managed-data-source user="OWFMGR" password="OWFMGR" connection-pool-name="jdbc/WorkflowDS_connectionPool" jndi-name="jdbc/WorkflowDS" name="jdbc/WorkflowDS_jdbc/WorkflowDS"/>
    <connection-pool name="jdbc/WorkflowDS_connectionPool">
    <connection-factory factory-class="oracle.jdbc.driver.OracleDriver" user="OWFMGR" password="OWFMGR" url="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=BI221WIN)))"/>
    </connection-pool>
    </data-sources>
    (Is it possible to reinstall only the wf part of the 11g database as to attempt a fresh installation, not only to drop the OWFMGR schema as the oc4j wf instance remains unchanged? Have searched in OUI for this option but did not find the setting for removing only the workflow for reinstalling)
    Thank you!!!

    Hi Srini,
    Thank you very much for your help. Have reviewed the mentioned notes, but unfortunately no information was contained concerning the encountered error.
    As to try and address the situation, have completely re-installed Oracle DB 11.1.0.6 and still the workflow installation ends in error. I have to mention that it is a completely fresh installation, no modifications were made to the base configuration.
    For windows the installation steps reference only running the wfinstall.bat script with the appropriate parameters for installing Oracle Workflow, but unfortunately it appears that the installation documentation is lacking some necessary steps as on a out of the box install the process does not complete successfully. The mentioned notes: 266612.1 and 351873.1 do not contain the information for troubleshooting the encoutnered issue.
    The environment: Microsoft Windows Server 2003 R2 64b Operating System with Oracle DB 11.1.0.6
    LOG Extract detailing the encountered issue:
    WorkflowCA: Deploy WF Applications: Windows 2003
    WorkflowCA: OC4J_Deploy Command: E:\Oracle\product\11.1.0\db_1\jdk\bin\java -Djava.security.properties=E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\home\config\jazn.security.props -jar E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\home\oc4j.jar -userThreads -config E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\OC4J_Workflow_Component_Container\config\server.xml
    WorkflowCA: Workflow component container deployed in OC4J: E:\Oracle\product\11.1.0\db_1\jdk\bin\java -Djava.security.properties=E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\home\config\jazn.security.props -jar E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\home\oc4j.jar -userThreads -config E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\OC4J_Workflow_Component_Container\config\server.xml
    WorkflowCA: Executing :E:\Oracle\product\11.1.0\db_1\jdk\bin\java -jar E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\home\admin.jar ormi://localhost:6041 oc4jadmin welcome -application WFALSNRSVCApp -testDataSource -location jdbc/WorkflowDS -username OWFMGR
    WorkflowCA:  :Data source jdbc/WorkflowDS is not available. for app:WFALSNRSVCApp
    WorkflowCA: subprocess.getOut():
    WorkflowCA: subprocess.getOut():
    WorkflowCA: Created a redirected data source with application WFALSNRSVCApp : E:\Oracle\product\11.1.0\db_1\jdk\bin\java -jar E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\home\admin.jar ormi://localhost:6041 oc4jadmin welcome -application WFALSNRSVCApp -installDataSource -url jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=BI221WIN))) -username OWFMGR -password ->pwForOwfMgr -className com.evermind.sql.DriverManagerDataSource -location jdbc/WorkflowDS -xaLocation jdbc/xa/WorkflowDS -ejbLocation jdbc/WorkflowDS -connectionDriver oracle.jdbc.driver.OracleDriver
    WorkflowCA: Executing :E:\Oracle\product\11.1.0\db_1\jdk\bin\java -jar E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\home\admin.jar ormi://localhost:6041 oc4jadmin welcome -application WFMLRSVCApp -testDataSource -location jdbc/WorkflowDS -username OWFMGR
    WorkflowCA:  :Data source jdbc/WorkflowDS is not available. for app:WFMLRSVCApp
    WorkflowCA: subprocess.getOut():
    WorkflowCA: subprocess.getOut():
    WorkflowCA: Created a redirected data source with application WFMLRSVCApp : E:\Oracle\product\11.1.0\db_1\jdk\bin\java -jar E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\home\admin.jar ormi://localhost:6041 oc4jadmin welcome -application WFMLRSVCApp -installDataSource -url jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=BI221WIN))) -username OWFMGR -password ->pwForOwfMgr -className com.evermind.sql.DriverManagerDataSource -location jdbc/WorkflowDS -xaLocation jdbc/xa/WorkflowDS -ejbLocation jdbc/WorkflowDS -connectionDriver oracle.jdbc.driver.OracleDriver
    WorkflowCA: subprocess.getOut(): Invalid input arguments.
    WorkflowCA: subprocess.getOut():
    WorkflowCA: Created obfusticated password for redirect datasource: E:\Oracle\product\11.1.0\db_1\jdk\bin\java -Djava.security.properties=E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\home\config\jazn.security.props -Doracle.security.jazn.config=E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\OC4J_Workflow_Component_Container\config\jazn.xml -jar E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\home\jazn.jar -user oc4jadmin -password welcome -adduser jazn.com pwForOwfMgr <WFCA WF PASSWORD>
    WorkflowCA: subprocess.getOut():
    WorkflowCA: subprocess.getOut():
    WorkflowCA: Executed OC4J Admin script to shut down the OC4J instance : E:\Oracle\product\11.1.0\db_1\jdk\bin\java -jar E:\Oracle\product\11.1.0\db_1\oc4j\j2ee\home\admin.jar ormi://localhost:6041 oc4jadmin welcome -shutdown
    WorkflowCA: Mon Mar 22 06:29:25 EDT 2010
    WorkflowCA: Workflow Configuration has completed with error.
    WorkflowCA: Terminating...
    Thank you again for all your time and help!!!

  • How to Handling XML footnote which have attributes

    Hi all,
    I searched in this forum related to XML footnote discussion. Still I need more clarification/discussion related to this process.
    I need maximum input and suggestion related to this topic to streamline our process.
    Our projects have around minimum 50 to 900 footnotes for each chapters, our client requirement is XML-IN workflow.
    The problem here is all our footnotes have attributes, like "url", "xref for Ibid" etc.
    <note id="law-9780199691654-note-003001" type="footnote"><p><enumerator><sup>1</sup></enumerator> Sources from the IMF, available at <url webUrl="http://en.wikipedia.org/wiki/Economy_of_the_People%27s_Republic_of_China#cite_note-0">http://en.wikipedia.org/wiki/Economy_of_the_People&#x00025;27s_Republic_of_China#cite_note-0</url>&gt;.</p></note>
    <note id="law-9780199691654-note-003002" type="footnote"><p><enumerator><sup>2</sup></enumerator> Detailed statistics available at the National Statistics Database developed by the National Bureau of Statistics of China, at <url webUrl="http://219.235.129.58">http://219.235.129.58</url>&gt;.</p></note>
    <note id="law-9780199691654-note-003004" type="footnote"><p><enumerator><sup>4</sup></enumerator> <bibItem linkType="mentioned" id="law-9780199691654-bibItem-4" class="other"><xrefGroup><xref ref="law-9780199691654-bibItem-03">Ibid</xref></xrefGroup>.</bibItem></p></note>
    <note id="law-9780199691654-note-003005" type="footnote"><p><enumerator><sup>5</sup></enumerator> <bibItem linkType="mentioned" id="law-9780199691654-bibItem-5" class="other"><xrefGroup><xref ref="law-9780199691654-bibItem-4">Ibid</xref></xrefGroup></bibItem>.</p></note>
    As we know that when we convert XML footnote to Indesign autofootnote, we will lost all the attributes.
    Till enumerator I can store it in TextStream itself "<note id="law-9780199691654-note-003001" type="footnote"><p><enumerator><sup>1</sup></enumerator>.
    Once I convert it to auto footnote, I lost rest of the attributes, when I export to XML I am just getting the text (eg. "Ibid")
    Please share your thoughts/suggestion (how can we store the attributes let it be in any form).
    If I change my workflow to 2 text stream process.
    Two text frames, one for Text and the other for Footnote. can we automate the process.
    Thanks in advance.
    Shaji

    You cannot apply xml tag for the idesign's footnote. Indesign will not allow you tag it. File a feature request for this. I think somebody did it already, google it.
    If you want xml tags along with, you have to use individual text frames for the footnotes,
    Green4ever

  • Workflow failed to start

    Hi,
    We are having a Visual Studio 2010 workflow which is working fine in production. I made some minor changes in the code and deployed the DLL for the workflow in the test server.
    The workflow is not running and throwing the below errors
    1. Workflow XYZ was cancelled by System Account.
    2. XYZ failed to start.
    Due to these errors, I didn't deploy the changes in production. Can anyone please help on this?
    Thanks,
    Kunal

    Hi Kunal,
    To update the visual studio workflow, we need to deploy a new version of the workflow assembly and a new version of Workflow Element.xml, re-register (deactivate and then activate) the workflow Feature, and recreate or add the workflow association so that
    SharePoint can connect to the new version of workflow assembly.
    So the workflow Element.xml file, workflow feature and the workflow association are needed to be updated in addition to the workflow assembly.
    More references:
    http://sharepoint497.blogspot.com/2012/09/upgrading-or-redeploying-sharepoint.html
    http://blogs.msdn.com/b/yardman/archive/2010/04/14/versioning-a-visual-studio-sharepoint-workflow.aspx
    Best regards.
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Stuck Receive XML PO event

    Several Receive XML PO events from Send XML Document workflows are "stuck" and we're unable to get them to a completed state (there is an ECX Main Error Process child underneath; we can clear the error, but it doesn't help). The Transaction Monitor shows the POs generated from the original POXML workflow are there, but they're in an error state and we can't select the "check box" and act on them since they're greyed-out.
    Any thoughts out there? Thanks!!!

    Hi Vishal,
    Assuming you are using R12+, you can have seperate templates used for differrent OUs. In the PO Approval workflow it shall pick the respective template.
    During submission of concurrent program "PO Output for Communication", you can specify the right template in the input parameters.
    Regards,
    G V Ranjith

  • Indesign with CALS table

    Hi all,
    We are in process of automating XML indesign workflow.
    We need some input reg. the table handling in XML workflow.
    Which type of table is good CALS or Indesign Table.
    kavya

    It really depends on what you're doing with the XML, and what your tool chain is. If those other tools understand CALS or InDesign out-of-the-box, that's your choice.

Maybe you are looking for

  • Production order: Automatic Generation of settlement rule .......

    Hi Gurus, I am trying to settle a production order to a cost center. I have already define a settlement profile with Cost center as the default reciever and assigned it to the Order type but when I tried to settle it, I have to create a distirbution

  • Server does not recognize email address

    I have both an iphone and an ipad until today I was able to send emails from both units using my household internet connection, today when I try to send an email from my ipad I get a pop-up stating server does not recognize the email address, but I c

  • Populating dynamic components in a remotely connected desktop application

    Hii Javaties I develping a desktop appliaction, which will remotely connect to internet. My requiremnets for the project are 1)- Combo boxes, lists are dynamic(they need 2 be populated from databse).Since user will not be always connected to internet

  • Help - Software Updates has error, "No repository found"

    I just launched Flash Builder 4.7 (latest version) for the first time and went to Help -> Software Updates and get this error. "'Contacting Software Sites' has encountered a problem. No repository found at http://aesplugins.adobe.com/aes/tooling/plug

  • Left Justify View Selector

    Guys, I am running into some formatting issues especially with allignment. 1. Need to left justify View Selector. I was able to left justify the caption but not able to move the "View seletor" Tried several things like adding size in the left padding