Initiating a Process Outside of Workspace

I have a form that is going to be housed on a corporate intranet.  I want to be able to submit the form from stand alone reader and have it initiate a long lived process passing in the submitted form data.  The process has as required input an xfaForm variable.  I've tried doing this by simply writing a servlet that uses the Invocation API to invoke the service passing in a Document object that contains the submitted form. When I do this I get the following error:<br /><br />2007-09-19 07:49:07,437 INFO  [STDOUT] ALC-DSC-119-000: com.adobe.idp.dsc.util.InvalidCoercionException: Cannot coerce object: <document state="active" senderVersion="3" persistent="false" senderPersistent="true" passivated="false" senderPassivated="true" deserialized="true" senderHostId="127.0.0.1/192.168.43.1/192.168.164.1/192.168.1.123/" callbackId="0" senderCallbackId="84725" callbackRef="null" isLocalizable="true" isTransactionBound="false" defaultDisposalTimeout="600" disposalTimeout="600" maxInlineSize="65536" defaultMaxInlineSize="65536" inlineSize="1309" contentType="null" length="-1"><cacheId/><localBackendId/><globalBackendId/><senderLocalBackendId/><senderGl obalBackendId/><inline><?xml version="1.0" encoding="UTF-8"?><br /><?xfa generator="XFA2_4" APIVersion="2.6.7116.0"?><br /><xdp:xdp x...</inline><senderPullServantJndiName>adobe/idp/DocumentPullServant/adobejb_server1</se nderPullServantJndiName><attributes/></document> of type: com.adobe.idp.Document to type: class com.adobe.idp.taskmanager.form.impl.xfa.XFARepositoryFormInstance<br /><br />So it looks like I need to get my form into an XFARepositoryFormInstance variable. Is there an easy way to do this?!  Or am I going about this all wrong?<br /><br />Any help would be appreciated.<br />Bryan

Hi Bryan
I think you need to do the following:
- The submit button on the form should submit in XML format
- Your input variable in the workflow should be of type XML
- Your servlet should extract the forms data (as a string), and convert this to a org.w3c.Document, before passing it as the input to your Workflow.
- In your workflow, the first step should be a SetValue QPAC. This should assign the XML data from the input XML variable to the ../data/ node in the xfaForm variable.
You can't coerce directly from your XDP data to a Form variable, because a Form variable is a complex object that contains both the XML data, and a reference to the form. You have to copy over just the XML data into the correct location within an existing xfaForm variable. I think :-)
I think this will work. Let us know...
Howard
http://www.avoka.com
PS We just have in alpha testing a generic servlet that will do what your custom servlet does, and quite a bit more. Please email [email protected] if you're interested in trying this out.

Similar Messages

  • Saving as a PDF-saves what's outside the workspace

    I'm using Illustrator CS....that might be my first problem haha. Anyway, when I try to save a .pdf version of my file, it ALWAYS saves including whatever is OUTSIDE the workspace area....Like instead of saving, say, the 8.5x11" document that I worked in, if I have something hanging outside of that space, it saves like a 12x11" document instead.
    Is there any way to get the .pdf to be ONLY what is inside the workspace? I have some things that have to be hanging out over the edges...so I can't just move it all inside the workspace.
    Thanks for any help!

    Make a box allowing for bleed area past the art board
    Object: Crop Area: Make
    Now save the PDF

  • Error when initiating a process

    Hello,
    when initiating a process, e.g. a Life & Work Process, i get an error at step 4 of the Process initiating road map. "Process could not be initiated: Set user context". The roles assignment should be ok.  Any ideas what could be the problem?
    cheers,
    Markus

    Hi Markus,
    You need to assign the default roles to the processes. Check this link for the details: http://help.sap.com/saphelp_erp2005/helpdata/en/43/9f2d87c0a86756e10000000a11466f/frameset.htm
    Regards,
    Shubham

  • Process Administrator and Workspace admin url for 10gR3

    I am running 10gR3 bpm locally.
    Url to access my local workspace is http://localhost:8585/workspace/faces/jsf/workspace/workspace.xhtml
    Could you let me know the URL for accessing the process administrator and workspace admin.
    Thanks in advance.

    Looking at your port 8585 it is the default port for Studio, in Studio there is no webconsole or workspace administrator, those applications only are available in enterprise.
    If your case is enterprise then the url is /webconsole and /portaladmin
    HTH

  • Initial a process variable of PDFSignatureAppearanceOptionSpec

    I got a problem in set configuration parameters for Sign Signature Field activity. In this activity, there is a field call Apprearance Option Spec. We can not set it in literal value as we want it configurable without changing the Process. So here we use variable. We create a process variable of type PDFSignatureAppearanceOptionSpec. In SetValue activity, we try to set all the fields of this variable. But the problem is most of the fields in this variable are not trivial, they have some class type, TextDirection or AppearanceType, it is hard to set the value for those fields in XPath Builder. Do you have any idea to initial a process variable that is PDFSignatureAppearanceOptionSpec type?

    Hi Pietro,
    As the task is associated with the WD mapped to it, we will be able to access only the WD Interface controller context associated with it and also few other Task attributes.
    Regards,
    Unni

  • Change form of output signal without initializing new process of output signal

    Hello!
    How to change form of output signal produced on the output channel without initializing new process of output signal?
    Thanks 
    Message Edited by _Pavel_ on 10-28-2009 05:21 PM
    Solved!
    Go to Solution.

    I'm working with LabView 8.5.1.
    I have periodic TTL impulse with constant frequency – signal to start , which I'm used to start data acquisition (PCI-6251)and generation signal (PCI-6221).
    When TTL signal a detection, necessary generation some analog signal (PCI-6221) and acquisition other analog signal (PCI-6251).  Then wait following TTL signal.
    At this moment I write the part of the program which is responsible for data acquisition. Function retriggering (In examples C:\ProgramFiles\National Instruments\LabVIEW8.5\examples\DAQmx\Synchronization\Multi-Function.llb\Multi-Function-CtrRetrigg Pulse Train Generation for AI Sample Clock.vi) is used. This function necessary,because we start data acquisition each time on arrival TTL impulse, andrepeated creation of the virtual channel of data acquisition with the newtrigger spend a lot of time.
    The problem consists in the following. Generation of the data from other card should occur on the same impulse TTL as for the data acquisition card and then generation zero value.
    How I can realize it? I planned to change the form of an impulse of generation when detected TTL an impulse, without reinitialize process.

  • Linking different processes under same workspace

    Hi..
    I have few processes under my workspace which i need to link. Like calling a process from another process ?
    Is there any way to link these process so that the flow can be continuous ???

    I am not really sure of what you are trying to do, but 1 of the options can be to send a Notification from 1 process to the other process, and have a Notification Wait activity in the called process receive it.
    HTH
    Rajat

  • Process Request shows status of 'INITIATED' or 'PROCESSING' but no longer r

    Hi,
    Received the below error when I try to run the cobol sample program.
    Process Request shows status of 'INITIATED' or 'PROCESSING' but no longer running
    Any help on this is highly appreciated.
    Thanks
    Soundappn

    Is there something in stderr/stdout ?
    You could have a look to that About the template FSCM9.1 FP2 Peopletools 8.52.03 (v4 - July 2012) (part 2) and see if something can help you out.
    Nicolas.

  • Change process name in workspace

    Hi all,
    I'm using BPM 11g and I'm trying to deploy my process with a specific name. This name should be used when logging into the bpm workspace on the top left in the applications tab.
    However I'm unable to find where this name is created. Currently its [ApplicationName]processName. I'd like to change it into something a bit more fancy.
    Any idea how I can achieve this ?
    Thanks for the help.
    Kind Regards,
    Nils

    Is this 11g? You will have to rename your process. The application name is from the process. Try this - it should work with BPM processes as well https://blogs.oracle.com/middleware/entry/renaming_bpel_process_names
    thanks,
    -Vikram

  • Process Map in Workspace

    Hi all,
    We are using a clustered environment in QA.
    When we click on a Work Item and then on Work Item Details inside the BPM Workspace and then click on the Process Map on the right hand corner of the Work Item Details , we DO NOT see the Process Map and the server fails.
    What could be the possible reason for this?
    Any idea?

    I don't think its possible to hide any activities from the process map. Within studio, you can only hide them from your view but even that functionality is buggy....

  • Initiating BPM Process Instances from External Web Service Call

    I'm attempting to update the HelloWorld example so that I can create an instance of the process from an External Web Services Call rather than via the Workspace. Our current SOA Architecture is configured so that all BPM instances are managed through a .NET SmartClient via the Service Bus and the use of PAPI W/S and so I'm wishing to recreate this capability in the new BPM.
    I understand the replacement for PAPI W/S is Human Workflow so I've therefore updated and republished the HelloWorld Example with an Exposed 'TaskService' Service for the Human Task within the BPM Process.
    I've then attempted to reference the TaskService through our existing BPM, and have been able to import a number of generic WSDL's as follows:
    Task Service
    http://vmaquatestapp2:7001/integration/services/TaskService/TaskServicePort?WSDL
    Task Metadata Service
    http://vmaquatestapp2:7001/integration/services/TaskMetadataService/TaskMetadataServicePort?WSDL
    Task Query Service
    http://vmaquatestapp2:7001/integration/services/TaskQueryService/TaskQueryService?WSDL
    When I examine the available operations for these generic services, there are quite a lot, each of which have a fairly complex schema. I believe I should be using the TaskService: InitiateTask Operation to create an instance of my BPM Process but my questions are:
    - Is the above the correct method of interacting with BPM Instances from an external system such as the Service Bus?
    - Does anyone have any examples of a basic XML payload that would initiate a process instance?

    I created an process with a message start event and can call it from an external web service call. I can also pass input arguments and map those to process data objects. However I can not find how to return data as response to the external web service call as e.g. the process instance id.
    Is it possible to this?
    Gr,
    Gert Jan Kersten

  • Objects outside of workspace show in SWF... Need help ASAP!

    When I export a flash movie (.swf file)And play it on full screen, the objects that are outside of the workspace show. Can anyone tell me how to fish this problem? need help ASAP! Thanks :]

    If what follows isn't sufficient for you to figure out, you'll have to spend some time learning how to work with Flash.  While you'll often get help solving problems in these forums, it's less likely you will get tutoring services.  Google is a very good resource for tutorials.
    To create a mask you draw a shape to the size you want and place it on a layer above all the content you want to mask.  A mask is actually not well named because masks normally hide things, while in the graphics world, masks define the are where things are shown... so when you apply a mask to something, only what is under the mask shows.  To finalize, you right click on the label area of the mask's layer and select Mask from the menu that appears.  You may have to drag lower layers up towards the mask layer to get them included, whicxh is why I mentioned creating the rest of the content as a movieclip (a single layer object).
    To control the visibility of objects you set their visibility to true or false (AS2: mcName._visible = true (or false),  AS3:mcName.visible = true (or false)).
    To create a frame around the stage, add a new layer atop everything and draw a rectangle big enough to hide all the content you don't want showing that is off the stage.  Then draw a rectangle that is the same size as the stage on top of that first rectangle, placing it over the stage, and then deselect anything that is selected.  Then reselect the smaller rectangle you just drew and delete it.  The larger rectangle is now framing your stage.

  • How to generate OLAP DML code or CWM2 code outside of workspace manager 10g

    I am using AWM 10.2, where I am creating cubes and dimensions etc. I can export the workspace into XML, but i want more, i want to generate definition of my OLAP, i want to see OLAP DML code for creating my workspace. Anybod has an idea ?
    1) How can I generate OLAP DML definition of my existing workspace ?
    Second thing is, that I really don't understand the concept of CWM2, what is this good for ? Is my AWM automatically generating some CWM2 statements and executing it ? Where can i see them ? Why do i need another logical CWM definition when I have regular OLAP definition ?
    2) What is the role of CWM2 in OLAP ? How can i generate CWM2 code outside of my existing workspace ?

    The DESCRIBE command will give you the definition of the object but it won't tell you anything about how objects should be populated. The API for Analytic Workspaces (AW/XML) takes responsibility for both object creation and object maintenance.
    What is it that you might want to accomplish by using OLAP DML to create the objects?

  • How to access biz data of process instances in workspace at any time in 11g

    Hi,
    We are using Oracle BPM Suite 11g.
    Our users want to be able to check and search the business data associated with the process instance at any time (i.e. even after the instance is completed. And the business data should be included in the task list or search result list in the BPM workspace.
    I am new to Oracle BPM 11g. Please help. For the data to be displayed in the workspace, should I define them as “Process Data Objects”?
    Regarding to how to display the data, I find something about Flexfield. But the Oracle document says the Flexfield is for the data that saved in human workflow database schema. When the process instance is completed, will the data in human workflow database for this instance be removed? Can I setup flexfield for the Process Data Objects?

    Hi Ramandeep,
    Apparently I am not getting the required exception.
    I have a TF that outputs an Invalid Region Site when I run it and the when I run it I only got the loading page image of ADF.
    Looking at JDEV logs, I see an Invalid Region Site error
    Here's what I did, I created a TF template with only one view in it like this.
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-template id="TFTemplate">
        <default-activity id="__7">errorPage</default-activity>
        <exception-handler id="__14">errorPage</exception-handler>
        <view id="errorPage">
          <page>/com/test/errorPage.jsff</page>
        </view>
        <use-page-fragments/>
      </task-flow-template>
    </adfc-config>My error page as this:
    <af:panelGroupLayout id="pgl1">
         <af:outputText value="Error has occurred!" id="ot2"/>
         <af:outputText value="#{pageFlowScope.MyErrorHandler.stacktrace}" id="ot1"/>
    </af:panelGroupLayout>...and my bean.
    public class MyErrorHandler
      public String getStacktrace() { 
        ControllerContext context = ControllerContext.getInstance();
        ViewPortContext currentRootViewPort = context.getCurrentRootViewPort();
        Exception exceptionData = currentRootViewPort.getExceptionData();
        if (currentRootViewPort.isExceptionPresent())
          if(exceptionData!=null)
            return exceptionData.getMessage();
        return null;
      }But exception data still returns null.
    I exactly wanted to show this invalid region site but it seems I cannot catch it.
    Any idea why?

  • Not able to process query in workspace.

    Hi guys,
    I am new to Hyperion, I created a sample report and published it in the workspace.
    I also published an OCE and used it while publishing the report. I am able to open the report, but I am not able to process the query in workspace?
    Can you guys please help me?
    Regards

    No I am not using the web client, I am just using the thin client iHTML alone.
    I am not able to find the right log file for it, to see where things going wrong

Maybe you are looking for

  • % Calculactions in Bex Query Designer

    Hi Experts, Could you please on how can i perform the below % Calculactions in Bex Query Designer.     Vendor No line item Not = L category =A  status =RFQ :for items Example : I have 8 items for vendorNo 200274 and only 4 as above condition and 5 it

  • HP Laserjet p4015 CB526A, duplex copy quality

    I have a LJ P4015 that is putting a excess toner on the right side of the the paper when duplexing. It doesn't do it on single sided printing. It looks like it should be a fuser problem but I replaced that and it didn't fix it. I've also replaced the

  • ITunes: Missing Music Files & After Adding Songs It Says It Can't Find Original File

    Hi Everyone I use iTunes to manage my music and after the upgrade just yesterday (11.0.2 (26)), my iTunes library now shows exclamations next to tracks that it can't find anymore. The tracks are on my external drive where I have always had them, and

  • How to concatenate mkpf-belnr  and mkpf-mjahr

    hi, i need to concatenate mkpf-belnr  and mkpf-mjahr in select statement and i am going to check the output of concatenation in to my select statement. is there any way i can do this.... thanks, jigar

  • Best Practices: Linux

    I have CFMX 7.02 running on ubuntu. It is running as the default user, NOBODY, and I'm experiencing alot of security headaches. I need access to write files (cffile) and execute scripts (cfexecute), but the nobody user doesnt have access to run "echo