Payload Update

In worklist API I have found method:
worklistservice.updatePayload(IWorklistContext, IWorklistTask, Map)
I have IWorklistContext and IWorklistTask, but I don't know how Map should look like.
My payload is:
<id>123</id>
<name>Tom</name>
<job>software developer</job>
How can I use this method to change values of payload?
Regards,
Krzysztof

To answer your questions
No you cannot set the payload path.
In order to get the payload from the new path. You might be knowing the business logic where the actual node will be moved. Based on that construct new path and use resourceresolver for resolving.

Similar Messages

  • Workflow Payload update needed once we move the node(payload path)

    Hi ,
    When you moved your node in a workflow process,how the new payload should be used in the further workflow process steps.
    if we use the payload in the further workflow process steps, this will give an error , as the payload which the workflow process is pointing at has been moved now.
    Can anybody help me to set the new payload for the workflow process, after the  node is moved to a different position.
    For example: when I started the workflow my Node is point at sourcepath=  /content/usergenerated/mycomments/mycommentpage
    If I moved this node path to destination path= /etc/commerce/products/approvedcomments/mycommentpage.
    My two questions are
    1 Do we need to set the new payload path ?
    2. Why there is no method called setPayload() in WorkflowData? is there a specific reason?
    Your help in this regard will be much appreciated
    Thanks

    To answer your questions
    No you cannot set the payload path.
    In order to get the payload from the new path. You might be knowing the business logic where the actual node will be moved. Based on that construct new path and use resourceresolver for resolving.

  • Payload set by API but dataObject remains empty and data does not flow

    Hi,
    We used ADF to programatically set the payload of a new BPM Instance, using JDev 11.1.1.6 and our BPM is also 11.1.1.6. Followed standard documentation.. and payload gets set, and submitted.
    firstTask.setPayloadAsElement(payload);
    wfSvcClient_.getTaskService().updateTaskOutcome(ctx, firstTask, Utilities.INIT_TASK_SUBMIT_OUTCOME);
    When we check in the BPMN for "exiting the initiator activity", we see payload set BUT dataObject with no elements set (empty):
    <auditQueryPayload auditId="505000" ciKey="560017">
    <serviceOutput>
    <element name="execData" detailId="59246" isBusinessIndicator="false"> <value> <task xmlns="http://xmlns.oracle.com/bpel/workflow/task"> ...
    <payload> <PurposeOfFiling xmlns="http://xmlns.oracle.com/OR1/OR1_FORMS_V2/PurposeOfFiling">
    *<purOrganizationId>C078</purOrganizationId>*
    </PurposeOfFiling> </payload>
    ..... </serviceOutput>
    <dataState> <dataObject name="PurposeOfFiling" isBusinessIndicator="false"> <value>
    <PurposeOfFiling xmlns="http://xmlns.oracle.com/bpm/bpmobject/BusinessObjects/PurposeOfFiling">
    *<purOrganizationId></purOrganizationId>*
    </value></dataObject></dataState>
    </auditQueryPayload>
    On entering the second activity (there is nothing between the first and second activity, i.e. direct link), the form comes up empty.
    It appears that in "firstTask.setPayloadAsElement(payload);" the payload is getting set, but the dataObject is empty, and that the dataObject is what is feeding the second activity, and so that is empty.
    Is there a way that we can ensure that the payload "feeds" the dataObject?
    Or alternatively, that the payload "feeds" the second activity?
    How would it be done? Would really appreciate any assistance.
    Thanks!
    Ali.

    Thanks Bill.
    It was something that I had in an earlier build (when I was looking into payload updates) and had removed.. but I've gone ahead and put it back.
    These are my results:
    When the BPM Application Output is wired for dataObject -to- dataObject (which I think is the right way to do), then the dataObject still remains empty.
    When the BPM Application Output is wired for UI -to- dataObject, then the Instance gets suspended due to uninitializedVariable.
    When the BPM Application Output is not wired at all (and Input was never wired to begin with) then dataObject is missing all together.
    One thing I noticed (on just trying the first activity by itself) is that the payload is shown in the UI (i.e. task Payload gets into UI). This was the effect of the "updateTask".
    However, in case of programatic SUBMIT, the payload is still not passed to the next activity. This appears to be once again because the dataObject itself is not being set.
    Also interestingly I found the below BUG request recently (3/22/2013) registered with Oracle, asking for APIs to be able to get/set the actual dataObject:
    BUG 16537745 - ABILITY TO ACCESS PROCESS INSTANCE DATAOBJECT VALUES USING API --> Oracle Business Process Management Suite
    - I don't have access to the details of it, but I'm guessing that their dataObject was not being set, and so API Access is requested to set it.
    However, if there is an existing solution - whereby the dataObject payload can be set (besides the task Payload), I'd much appreciate.
    Thanks!

  • Pass Instance Payload to Mediator

    BPM 11g
    I have a UI project configured to trigger workflow events onUpdate. I also have a separate project that contains a Mediator component that talks to a Web service. The onUpdate event fires and the Mediator picks up the message. In the mediator I have access to the task payload and can map information from it to the WS request. I need to be able to access the process instance payload here as well. Does anyone know how to pass the instance payload to the Mediator or how I can tell the Mediator to look at the instance payload as well as the task payload? I tried adding a new source by importing the instance payload schema; however, I received a parameter fault. Does anyone have any ideas?

    If I understand the post, you're trying to reach into the process (from the Mediator) to pull out some instance values defined in the process. The issue is that the instance state of the process is private to the process. The task data is available because its passed as parameter values between the BPM component and the HWF component.
    I assume you're using the mediator because you want data pushed to the external web service on finer grained events than just the task being complete (e.g. payload updated).
    If so I think you have a few options:
    1. Store the relevant subset of process data externally (e.g. database) and have the key(s) as part of the task payload. Then the mediator or the target web service could fetch the data based on the keys in the event you publish from the mediator.
    2. If the data is fairly simple and static (e.g. available in messages to/from the process), then you could expose the data as composite sensor values.
    3. Have the process itself listen for the onUpdate event via a signal, and publish the data from the process directly. You could model the same behavior with a request/reply event sub-process (non-interrupting) invoked by the mediator. In that case the mediator is essentially querying the process when the event is triggered.

  • Cs5.5 master collection wont install After Effects or Premier

    Just upgraded from CS4 to CS5.5 and installation errors on After effects and Premier. I'm running windows 7 64 bit pro service pack 1,Duel x5650 xeons,  24 gigs of memory, 250 gb ssd. Before installing CS5 I uninstalled cs4. After the first installation error I unistalled cs5, ran the AdobeCreativeSuiteCleanerTool.exe, and removed all the adobe folders from my program files and program files(x86) folders. I've spent the last 4 hours searching for a solution, no luck yet though. I don't have any user account controls set. I think it's a font permision problem but don't know. I called adobe tech support, but no luck. Any help would be apprecieated. the following is the error code. 
    Exit Code: 6
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 37 error(s), 29 warning(s)
    WARNING: DW031: Payload:{2EBE92C3-F9D8-48B5-A32B-04FA5D1709FA} Adobe XMP Panels CS5 3.0.0.0 has been updated and has been selected for repair. The patch {42774483-D33C-46F7-8B20-FD0B1A3DAC25} Adobe XMP Panels CS5_3.1_AdobeXMPPanelsAll 3.1.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{3F023875-4A52-4605-9DB6-A88D4A813E8D} Camera Profiles Installer 6.0.0.0 has been updated and has been selected for repair. The patch {A189C479-C7CD-4E08-8CCF-D999B68C0C71} Camera Profiles Installer_6.3_AdobeCameraRawProfile6.0All 6.3.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{37AB3C65-E02C-4DCF-B0E0-4C2E253D8FA3} Photoshop Camera Raw 6.0.0.0 has been updated and has been selected for repair. The patch {FD58D99B-9927-4226-8E00-959A4F76BD89} Photoshop Camera Raw_6.3_AdobeCameraRaw6.0All 6.3.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{2EBE92C3-F9D8-48B5-A32B-04FA5D1709FA} Adobe XMP Panels CS5 3.0.0.0 has been updated and has been selected for repair. The patch {42774483-D33C-46F7-8B20-FD0B1A3DAC25} Adobe XMP Panels CS5_3.1_AdobeXMPPanelsAll 3.1.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{3F023875-4A52-4605-9DB6-A88D4A813E8D} Camera Profiles Installer 6.0.0.0 has been updated and has been selected for repair. The patch {A189C479-C7CD-4E08-8CCF-D999B68C0C71} Camera Profiles Installer_6.3_AdobeCameraRawProfile6.0All 6.3.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{37AB3C65-E02C-4DCF-B0E0-4C2E253D8FA3} Photoshop Camera Raw 6.0.0.0 has been updated and has been selected for repair. The patch {FD58D99B-9927-4226-8E00-959A4F76BD89} Photoshop Camera Raw_6.3_AdobeCameraRaw6.0All 6.3.0.0 will be uninstalled now.
    ----------- Payload: {7F9C94CD-0BAC-4F8F-8990-6A5886F4D550} Required Common Fonts Installation x64 1.0.0.0 -----------
    WARNING: DF054: Unable to read Adobe file version for file path 'C:\Windows\Fonts\KozGoPro-Heavy.otf'(Seq 16)
    ERROR: DF012: Unable to find file(Seq 16)
    ERROR: Error code: 2(Seq 16)
    ERROR: DF024: Unable to preserve original file at "C:\Windows\Fonts\KozGoPro-Heavy.otf" Error 32 The process cannot access the file because it is being used by another process.(Seq 16)
    ERROR: DW063: Command ARKDeleteFileCommand failed.(Seq 16)
    ----------- Payload: {2EE4F060-CEE6-4002-AA8B-91B791541767} Pixel Bender Toolkit 2.6.0.0 -----------
    WARNING: DF035: CreateAlias:Icon file does not exist at C:\Program Files (x86)\Adobe\Adobe Utilities - CS5.5\Pixel Bender Toolkit 2.6\windows\pb_app.icofile:\\\C:\PIXELB~1\source\winwood\Staging    0X1.4E99CCP-1022rea\windows\pb_app.ico42178f80493091e8e552c84a2897e9da68fce32_32_f8049309 1e8e552c84a2897e9da68fce for icon C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Adobe Master Collection CS5.5\Adobe Pixel Bender Toolkit 2.6.lnk with target C:\Program Files (x86)\Adobe\Adobe Utilities - CS5.5\Pixel Bender Toolkit 2.6\Pixel Bender Toolkit.exe(Seq 89)
    ----------- Payload: {E39A5ABD-516B-46F9-A042-694BBA6A4E08} Recommended Common Fonts Installation 1.0.0.0 -----------
    WARNING: DF054: Unable to read Adobe file version for file path 'C:\Windows\Fonts\ChaparralPro-Bold.otf'(Seq 20)
    ERROR: DF012: Unable to find file(Seq 20)
    ERROR: Error code: 2(Seq 20)
    ERROR: DF024: Unable to preserve original file at "C:\Windows\Fonts\ChaparralPro-Bold.otf" Error 32 The process cannot access the file because it is being used by another process.(Seq 20)
    ERROR: DW063: Command ARKDeleteFileCommand failed.(Seq 20)
    ----------- Payload: {CBDD7465-CE11-4A58-9497-C370B65923F1} Required Common Fonts Installation 1.0.0.0 -----------
    WARNING: DF054: Unable to read Adobe file version for file path 'C:\Windows\Fonts\KozGoPro-Heavy.otf'(Seq 15)
    ERROR: DF012: Unable to find file(Seq 15)
    ERROR: Error code: 2(Seq 15)
    ERROR: DF024: Unable to preserve original file at "C:\Windows\Fonts\KozGoPro-Heavy.otf" Error 32 The process cannot access the file because it is being used by another process.(Seq 15)
    ERROR: DW063: Command ARKDeleteFileCommand failed.(Seq 15)
    ----------- Payload: {7202D4A7-F7E6-4e7a-B77D-7B1C4E8B5CA6} Adobe Flash Player 10 ActiveX 10.0.0.0 -----------
    ERROR: Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action NewCustomAction1, location: C:\Users\kellyc\AppData\Local\Temp\InstallAX.exe, command: -install activex -msi
    ERROR: Install MSI payload failed with error: 1603 - Fatal error during installation.
    MSI Error message: Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action NewCustomAction1, location: C:\Users\kellyc\AppData\Local\Temp\InstallAX.exe, command: -install activex -msi
    ----------- Payload: {11C0657F-2BD4-4CBC-87F3-9455DC91886E} Recommended Common Fonts Installation x64 1.0.0.0 -----------
    WARNING: DF054: Unable to read Adobe file version for file path 'C:\Windows\Fonts\ChaparralPro-Bold.otf'(Seq 21)
    ERROR: DF012: Unable to find file(Seq 21)
    ERROR: Error code: 2(Seq 21)
    ERROR: DF024: Unable to preserve original file at "C:\Windows\Fonts\ChaparralPro-Bold.otf" Error 32 The process cannot access the file because it is being used by another process.(Seq 21)
    ERROR: DW063: Command ARKDeleteFileCommand failed.(Seq 21)
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    ----------- Payload: {067E43CD-3E9C-44BA-89FA-EDE7461BC22B} AIR for Apple iOS support (FB) 2.6.0.0 -----------
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    ----------- Payload: {7745F18B-FD8A-4011-BE16-588900C503D0} Adobe Flash Fonts1 1.0.0.0 -----------
    ERROR: DF023: Unable to delete backup file at "C:\adobeTemp\backup\adobetmp521125891" Error 5 Access is denied.(Seq 2)
    ERROR: DW063: Error committing command ARKDeleteFileCommand(Seq 2)
    ----------- Payload: {7CF76BDA-73EA-4C46-A59D-FC3142D83E65} Adobe OnLocation CS5.1 Third Party Content Wrapper 5.1.0.0 -----------
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    ----------- Payload: {301D39AF-43B1-445B-88CF-D78584200322} Adobe WinSoft Linguistics Plugin CS5.5 1.2.0.0 -----------
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    ----------- Payload: {47CE893F-A0FF-4094-AA16-5209AEA7C7E0} Firefox Plugin CS5.1 6.1.0.0 -----------
    WARNING: DF012: File/Folder does not exist at C:\CS5\payloads\AdobeContribute6.1-FFPlugin\OEM(Seq 32)
    ----------- Payload: {208DE3D5-541C-41B0-8595-7A608A6E4306} IE Plugin CS5.1 6.1.0.0 -----------
    WARNING: DF012: File/Folder does not exist at C:\CS5\payloads\AdobeContribute6.1-IEPlugin\OEM(Seq 26)
    ----------- Payload: {DD309051-FACF-4A5E-87F1-C57154BB3DE8} Adobe Contribute CS5.1 6.1.0.0 -----------
    WARNING: DF012: File/Folder does not exist at C:\CS5\payloads\AdobeContribute6.1-mul\OEM(Seq 8283)
    ----------- Payload: {8DADF070-FE60-4899-8EF0-4242E7702F7D} Adobe Fireworks CS5.1 11.1.0.0 -----------
    WARNING: DF012: File/Folder does not exist at C:\CS5\payloads\AdobeFireworks11.1.0All\OEM(Seq 1215)
    ----------- Payload: {1C9D6B02-8B92-4E40-8B22-37D8C95430F0} Adobe Fireworks CS5.1_AdobeFireworks11.1.0en_USLanguagePack 11.1.0.0 -----------
    WARNING: DF012: File/Folder does not exist at C:\CS5\payloads\AdobeFireworks11.1.0en_USLanguagePack\OEM(Seq 74)
    ----------- Payload: {DDBDE7B0-6FC4-40B1-B673-66EEE8CB60CF} Adobe Illustrator CS5.1_AdobeIllustrator15_1en_USLanguagePack 15.1.0.0 -----------
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    ----------- Payload: {F9F276DA-9EC6-492C-AF58-F27C5EC19D66} Adobe Photoshop CS5.1 English Language Pack_x64_AdobePhotoshop12-en_US_x64 12.1.0.0 -----------
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    ----------- Payload: {4A4F91EA-5951-4C5C-B911-027D802817EB} Office Plugin CS5.1 6.1.0.0 -----------
    WARNING: DF012: File/Folder does not exist at C:\CS5\payloads\AdobeContribute6.1-OfficePlugin\OEM(Seq 34)
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Adobe Premiere Pro CS5.5 Support: Install failed
    ERROR: DW050:  - Recommended Common Fonts Installation x64: Install failed
    ERROR: DW050:  - AdobeMotionPicture CS5.5: Install failed
    ERROR: DW050:  - Adobe After Effects CS5.5 Support: Install failed
    ERROR: DW050:  - Required Common Fonts Installation x64: Install failed
    ERROR: DW050:  - Adobe Story: Install failed
    ERROR: DW050:  - Adobe After Effects CS5.5 Presets: Install failed
    ERROR: DW050:  - Adobe After Effects CS5.5 Third Party Content Wrapper: Install failed
    ERROR: DW050:  - Adobe After Effects CS5.5_AdobeAfterEffects10.5en_USLanguagePack: Install failed
    ERROR: DW050:  - Required Common Fonts Installation: Install failed
    ERROR: DW050:  - AdobeColorVideoProfilesAE CS5.5: Install failed
    ERROR: DW050:  - AmericanEnglishSpeechAnalysisModels: Install failed
    ERROR: DW050:  - Adobe Premiere Pro CS5.5: Failed due to Language Pack installation failure
    ERROR: DW050:  - Recommended Common Fonts Installation: Install failed
    ERROR: DW050:  - Adobe After Effects CS5.5: Failed due to Language Pack installation failure
    ERROR: DW050:  - Adobe Premiere Pro CS5.5_AdobePremierePro5.5en_USLanguagePack: Install failed

    Thanks. I tried the all the steps in the link you provided. Plus a few others from adobe support, I spent about 4 ½ hours on the phone with them over the past 2 days. I reinstalled all the Microsoft payloads, updated my video drivers, admin privileges, closed all my services and startups, uninstalled adobe air, flash player, deleted a few fonts from my system, although that was a pain because I had to go into safe mode to delete them, and I lost track off the rest. I haven’t had any troubles installing any other software, including CS4.
    Here is the new error when I try to install either after effects or Premier
    Exit Code: 7
    -------------------------------------- Summary --------------------------------------
    - 1 fatal error(s), 6 error(s), 4 warning(s)
    WARNING: DW031: Payload:{61A3D10A-AA4D-4E4C-B9DB-6A08D318EA41} Photoshop Camera Raw (64 bit) 6.0.0.0 has been updated and has been selected for repair. The patch {32841ECE-EC28-42CD-A4DD-6CE832A7EA8D} Photoshop Camera Raw (64 bit)_6.3_AdobeCameraRaw6.0All-x64 6.3.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{2EBE92C3-F9D8-48B5-A32B-04FA5D1709FA} Adobe XMP Panels CS5 3.0.0.0 has been updated and has been selected for repair. The patch {42774483-D33C-46F7-8B20-FD0B1A3DAC25} Adobe XMP Panels CS5_3.1_AdobeXMPPanelsAll 3.1.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{3F023875-4A52-4605-9DB6-A88D4A813E8D} Camera Profiles Installer 6.0.0.0 has been updated and has been selected for repair. The patch {A189C479-C7CD-4E08-8CCF-D999B68C0C71} Camera Profiles Installer_6.3_AdobeCameraRawProfile6.0All 6.3.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{37AB3C65-E02C-4DCF-B0E0-4C2E253D8FA3} Photoshop Camera Raw 6.0.0.0 has been updated and has been selected for repair. The patch {FD58D99B-9927-4226-8E00-959A4F76BD89} Photoshop Camera Raw_6.3_AdobeCameraRaw6.0All 6.3.0.0 will be uninstalled now.
    ERROR: DW020: Found payload conflicts and errors:
    ERROR: DW020:  - Adobe Photoshop CS5.1 Core depends on Required Common Fonts Installation to be installed.
    ERROR: DW020:  - Adobe Illustrator CS5.1 depends on Required Common Fonts Installation to be installed.
    ERROR: DW020:  - Adobe InDesign CS5.5 Application Base Files depends on Required Common Fonts Installation to be installed.
    ERROR: DW020:  - Adobe Fireworks CS5.1 depends on Required Common Fonts Installation to be installed.
    ERROR: DW020:  - Adobe Encore CS5.1 depends on Required Common Fonts Installation to be installed.
    FATAL: DW020: Conflicts were found in the selected payloads. Halting installation.

  • How to change the Task title on runtime?

    Hi experts again,
    My customer is struggling with something very simple: how to customize the Task title. You can certainly create an argument in the task, use Data Associations to map the argument, and then use XPath expression to get the value from the task payload and set it to the task title. That works fine. But it only executes once, when the process instance 'enters' in the task.
    So once the Task is created, you can see the custom title in the Workspace.
    Now, can we change the Title on runtime? I thought you could get the task payload, update the title and finally update the task but this does not seem to work. Here's the code that does it.
    In this example, the priority is updated successfully but not the title.
    FacesContext context = FacesContext.getCurrentInstance();
    String tskId = (String)context.getApplication().evaluateExpressionGet(context,
    "#{pageFlowScope.bpmWorklistTaskId}", String.class);
    IWorkflowServiceClient workflowSvcClient = WorkflowService.getWorkflowServiceClient();
    ITaskService taskSvc = workflowSvcClient .getTaskService();
    ITaskQueryService wfQueryService = workflowSvcClient.getTaskQueryService();
    IWorkflowContext wfContext = WorklistUtil.getWorkflowContextForASelectedTask();
    Task myTask;
    try {
    myTask = wfQueryService.getTaskDetailsById(wfContext, tskId);
    Element payloadElem = myTask.getPayloadAsElement();
    System.out.println("****************" + myTask.getTitle());
    System.out.println("****************" + myTask.getPriority());
    myTask.setTitle("Task Title 3");
    myTask.setPriority(2);
    myTask.setPayloadAsElement(payloadElem);
    taskSvc.updateTask(wfContext, myTask);
    } catch (Exception e) {
    e.printStackTrace();
    The results which printed out in console after execute above code twice.
    ****************Task Title 1
    ****************3
    ****************Task Title 1
    ****************2

    You can use the appropriately named Window Title property. In your project you can define conditional disable symbols (right-click on the project node and select Properties) and then use a conditional disable structure in your code. However, these symbols apply to the entire project, not to a specific executable. Thus, a better route would be to use the executable name (also accessible via a property), if possible, or some other distinction between the executables. What makes the executables different?

  • Dimension level sequence not generated but "level id" is

    Using OWB 10gR2 on Oracle 9.0.2.6
    I have a three level dimension on a building table. The highest level address portfolios (based on manager responsibilities), province (where the building is) and final building information.
    I have defined the surrogate key and business key for all levels. The portfolio level is inserted ok and so is the lowest level building but the province level does not populate the surrogate key. The negative value that it should use is in the "level id" only. I look at the pl/sql generated and the insert statement does not show the surrogate key.
    I did notice that the levels were not defined with the lowest level (building) as the last in the list. Does this make a difference or not?
    The other thing I notice is that a portfolio may span more than one province. So in fact the province may be there more than once but associated to different portfolio. Can a province have more than one portfolio or is the chronological order from level 1 to level 2 can only be 1:n and not n:n?
    ex: portfolio 66 can be for province "ON" and "QC" but portfolio 77 can also be in "ON" and portfolio 88 in "ON" and who knows portfolio 89 in "QC".
    the data should represent
    PK, portfolio_id, portfolio_number, province_id, province_code, etc...(building info and names for the prev. levels)
    (portfolio level)
    -22, -22, 66
    -23, -23, 77
    -24, -24, 88
    -25, -25, 89
    (province level- what I get)
    null, -22, 66, -701, ON
    null, -22, 66, -702, QC
    null, -23, 77, -703, ON
    null, -24, 88, -704, ON
    null, -25, 89, -705, QC

    Here is the script
    CREATE TABLE BILLING_NOTIFY.NOTIFICATION_MESSAGE
    MSGID NUMBER,
    SCN VARCHAR2(12 BYTE) NOT NULL,
    MSGTYPEID NUMBER NOT NULL,
    MSGTITLE VARCHAR2(50 BYTE) NOT NULL,
    PAYLOAD VARCHAR2(250 BYTE) NOT NULL,
    DESPATCHED NUMBER DEFAULT 1 NOT NULL,
    CREATED DATE DEFAULT sysdate NOT NULL,
    UPDATED DATE,
    FREQUENCY NUMBER NOT NULL,
    RECURRENCE NUMBER DEFAULT 1 NOT NULL
    Sequence:
    CREATE SEQUENCE BILLING_NOTIFY.MSGID
    START WITH 1
    MAXVALUE 999999999999999999999999999
    MINVALUE 1
    NOCYCLE
    NOCACHE
    ORDER;
    SP:
    CREATE OR REPLACE PROCEDURE BILLING_NOTIFY.ComposeTextPopUPMessageinMC (
    pi_NAME IN varchar2,
    pi_SCN IN varchar2,
    pi_ACCOUNTBALANCE IN varchar2,
    pi_OFFERAMOUNT IN varchar2,
    pi_DUEDATE IN varchar2,
    pi_FREQ IN number,
    pi_MSGTITLE varchar2
    IS
    e_exp EXCEPTION;
    v_MsgTemplate varchar2(5000);
    BEGIN
    --ExeTime:=TO_DATE(pi_Exetime, 'dd-mm-yyyy');
    IF pi_NAME IS NULL
    THEN
    RAISE e_exp;
    END IF;
    select MsgTemplate into v_MsgTemplate from notification_MessageTemplate where MsgTypeId=1;
    insert into notification_message (SCN,MSGTYPEID,payload,updated,frequency,MSGTITLE)
    VALUES(pi_SCN,1,Replace(Replace(Replace(Replace(
    Replace(v_MsgTemplate,'(Name)',upper(pi_NAME)),
    '(SCN)',cast(pi_SCN as varchar2(15))),
    '(AccountBalance)',cast((pi_ACCOUNTBALANCE) as varchar2(15))),
    '(OfferAmount)',cast((pi_OFFERAMOUNT)as varchar2(15))),
    '(LastChargedDate)',pi_DUEDATE),
    sysdate,pi_FREQ,pi_MSGTITLE);
    commit;
    EXCEPTION
    WHEN e_exp
    THEN
    ROLLBACK;
    END;
    Values Passed:
    PI_NAME := 'VIRAL';
    PI_SCN := '200502250425';
    PI_ACCOUNTBALANCE := '57 Credit';
    PI_OFFERAMOUNT := '175';
    PI_DUEDATE := '1/9/2009';
    PI_FREQ := 1;
    PI_MSGTITLE := 'Account';

  • ORA-01722 Exception -help needed

    CREATE OR REPLACE PROCEDURE BILLING_NOTIFY.ComposeTextPopUPMessageinMC (
    pi_NAME IN varchar2,
    pi_SCN IN varchar2,
    pi_ACCOUNTBALANCE IN varchar2,
    pi_OFFERAMOUNT IN varchar2,
    pi_DUEDATE IN varchar2,
    pi_FREQ IN number
    IS
    po_error_code NUMBER;
    e_exp EXCEPTION;
    v_MsgTemplate varchar2(5000);
    BEGIN
    select MsgTemplate into v_MsgTemplate from notification_MessageTemplate where MsgTypeId=1;
    insert into notification_message (clientId,messageId,payload,updated,frequency)
    VALUES(pi_SCN,1,Replace(Replace(Replace(Replace(
    Replace(v_MsgTemplate,'(Name)',upper(pi_NAME)),
    '(SCN)',cast(pi_SCN as varchar2(15))),
    '(AccountBalance)',cast(floor(pi_ACCOUNTBALANCE) as varchar2(15))),
    '(OfferAmount)',cast(floor(pi_OFFERAMOUNT)as varchar2(15))),
    '(LastChargedDate)',to_char(pi_DUEDATE,'MM-DD-YYYY')),
    sysdate,pi_FREQ);
    COMMIT;
    END;
    These are my INPUT values:
    PI_NAME := 'RAJ';
    PI_SCN := '200500';
    PI_ACCOUNTBALANCE := '123';
    PI_OFFERAMOUNT := '122';
    PI_DUEDATE := '12-12-2005';
    PI_FREQ := 1;
    The value of v_MsgTemplate is
    'Dear (Name)
    Subscriber ID: (SCN)
    Your account balance is Rs.(AccountBalance)
    Please recharge minimum of Rs.(OfferAmount) before (LastChargedDate)
    To recharge please call BIG TV Customer Care on 1800 200 9002.
    Thank You.'
    My SP Comoles without any errors,but when i try to run the SP using the above mentioned values am getting the following errors.
    ORA-01722: invalid number
    ORA-06512: at "BILLING_NOTIFY.COMPOSETEXTPOPUPMESSAGEINMC", line 23
    ORA-06512: at line 17
    Pls help me to correct my error.

    Though cast is good option but it has also some limitations, too.
    See ->
    satyaki>
    satyaki>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>
    satyaki>
    satyaki>with peter
      2     as
      3       (
      4         select '12.DEC.2008' cola from dual
      5       )
      6     select cast(cola as date) d_t
      7     from peter;
    D_T
    12-DEC-08
    Elapsed: 00:00:01.05
    satyaki>
    satyaki>ed
    Wrote file afiedt.buf
      1  with peter
      2     as
      3       (
      4         select '12.DEC-2008' cola from dual
      5       )
      6     select cast(cola as date) d_t
      7*    from peter
    satyaki>/
    D_T
    12-DEC-08
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>ed
    Wrote file afiedt.buf
      1  with peter
      2     as
      3       (
      4         select '12/DEC-2008' cola from dual
      5       )
      6     select cast(cola as date) d_t
      7*    from peter
    satyaki>/
    D_T
    12-DEC-08
    Elapsed: 00:00:00.00
    satyaki>ed
    Wrote file afiedt.buf
      1  with peter
      2     as
      3       (
      4         select '12DEC2008' cola from dual
      5       )
      6     select cast(cola as date) d_t
      7*    from peter
    satyaki>/
    D_T
    12-DEC-08
    Elapsed: 00:00:00.00
    satyaki>ed
    Wrote file afiedt.buf
      1  with peter
      2     as
      3       (
      4         select '200815.12' cola from dual
      5       )
      6     select cast(cola as date) d_t
      7*    from peter
    satyaki>/
       select cast(cola as date) d_t
    ERROR at line 6:
    ORA-01861: literal does not match format string
    Elapsed: 00:00:00.01
    satyaki>
    satyaki>ed
    Wrote file afiedt.buf
      1  with peter
      2     as
      3       (
      4         select '20081512' cola from dual
      5       )
      6     select cast(cola as date) d_t
      7*    from peter
    satyaki>/
       select cast(cola as date) d_t
    ERROR at line 6:
    ORA-01861: literal does not match format string
    Elapsed: 00:00:00.00
    satyaki>So, better to use format mask using to_date.
    Regards.
    Satyaki De.

  • How to customize the message using HttpSession info in WL-PubServer

    Hi, im using Weblogic 10.3 Publish-Subscribe Server (PubServer) in order to create Comet application.
    http://e-docs.bea.com/wls/docs103/webapp/pubsub.html
    We are utilizing JMS Message system to support Clustered environment, and everything works great and as expected, however now we need to support sending User Customized data like (Internationalized Messages, date formatted in user timestamp preference and others).
    Since we are posting the payload updates into JMS in a subsystem this 'User Preference (stored in HttpSession) is not accessible'. My goal is to try to put a hook into WL PubServer mechanism that delivers the message to the client(which is attached to an specific Channel) and be able to customize the Data (using HttpSession information) before it gets delivered.
    I have researched about this for the past few days without luck, also trying to search information about the com.bea.httppubsub.servlet.ControllerServlet which is the responsible to handle this but again always end in a dead end. I'm starting to think this is not possible at all (at least with the current WL PubServer).
    I'll be glad to hear any feedback on this.

    Hi,
    Sender object is type of object any time if you want to use any property/attribute of sender object first you need to type cast it with your desire object.
    For more information, you could refer to:
    http://blog.jsinh.in/managing-msmq/#.VPe5mnkfqM8
    http://forums.asp.net/t/343932.aspx?How+can+I+get+values+of+sender+object+in+C+
    Regards

  • UpdateTask fail when using RemoteWorklistServiceClient

    Hi,
    The following is code for updating task payload using the BPEL API & BPEL Worklist API.
    Local Worklist Task Payload Update
    Element newPayload = // Create the payload using InputSource
    String taskId = "925c8a905b1105b3:1829e6f:109e25c3ecf:-7f4e";
    IWorklistService workListService = WorklistService.getWorklistService();
    IWorklistContext ctx = workListService.authenticateUser("jstein", "welcome");
    IWorklistTask currentTask = workListService.getWorklistTaskDetails(ctx, taskId);
    currentTask.setPayload(newPayload);
    workListService.updateTask(ctx,currentTask);
    currentTask = workListService.getWorklistTaskDetails(ctx,taskId);
    newPayload = (Element)currentTask.getPayload();
    System.out.println(newPayload);
    Remote Worklist Task Payload Update
    Element newPayload = // Create the payload using InputSource
    String taskId = "925c8a905b1105b3:1829e6f:109e25c3ecf:-7f4e";
    RemoteWorklistServiceClient remoteWLService = new RemoteWorklistServiceClient();
    remoteWLService.JNDI_PROPERTY_FILE = "hw_worklist_jndi.properties";
    remoteWLService.init();
    IWorklistContext ctx = remoteWLService.authenticateUser(user, password);
    Task currentTask = remoteWLService.getWorklistTaskDetails(ctx,taskId);
    currentTask.setPayload(newPayload);
    remoteWLService.updateTask(ctx,currentTask);
    currentTask = remoteWLService.getWorklistTaskDetails(ctx,taskId);
    newPayload = (Element)currentTask.getPayload();
    System.out.println(newPayload);
    The Local task update goes through successfully but the task update using the Remote API doesn't update the task payload.
    To me it looks likes a bug, is there anything that i am missing.
    Thanks,
    Senthil L

    Senthil,
    I'm sorry to say that it's a known bug that when you're using the RemoteWorklist, the payload will not be updated. If you have your own GUI to handle the Workflow, you can store the payload in another field (for instance the Comments field) and extract it in the receiving BPEL. That workaround works.
    hth,
    Mike

  • Getting "ora-20005 task is modified" error while updating task payload

    Hi,
    I am trying to update a task's payload using the Task Service. But I am getting the following error :-
    "IRC_SOAINFRA.WFTASKPKG_111160", line 2932
    ORA-20005:
    ORA-06512: at line 1I am using the task element which I got back by calling the TaskQueryService's getTaskById operation. At a loss why this is happening!!! Any help is much appreciated.
    Thanks,
    Rahul

    Hi,
    I am trying to update a task's payload using the Task Service. But I am getting the following error :-
    "IRC_SOAINFRA.WFTASKPKG_111160", line 2932
    ORA-20005:
    ORA-06512: at line 1I am using the task element which I got back by calling the TaskQueryService's getTaskById operation. At a loss why this is happening!!! Any help is much appreciated.
    Thanks,
    Rahul

  • Exit Code: 6 -------------------------------------- Summary --------------------------------------  - 0 fatal error(s), 8 error(s), 10 warning(s)  WARNING: DW031: Payload:{6A2E619B-E4AC-433B-A648-D458CE543A96} Adobe XMP Panels CS5 3.0.0.0 has been updated

    Exit Code: 6
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 8 error(s), 10 warning(s)
    WARNING: DW031: Payload:{6A2E619B-E4AC-433B-A648-D458CE543A96} Adobe XMP Panels CS5 3.0.0.0 has been updated and has been selected for repair. The patch {5C0FEBDA-5A0E-4FC8-91CB-229A4C1561E9} Adobe XMP Panels CS5_3.1_AdobeXMPPanelsAll 3.1.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{3F023875-4A52-4605-9DB6-A88D4A813E8D} Camera Profiles Installer 6.0.0.0 has been updated and has been selected for repair. The patch {A189C479-C7CD-4E08-8CCF-D999B68C0C71} Camera Profiles Installer_6.3_AdobeCameraRawProfile6.0All 6.3.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{37AB3C65-E02C-4DCF-B0E0-4C2E253D8FA3} Photoshop Camera Raw 6.0.0.0 has been updated and has been selected for repair. The patch {FD58D99B-9927-4226-8E00-959A4F76BD89} Photoshop Camera Raw_6.3_AdobeCameraRaw6.0All 6.3.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{6A2E619B-E4AC-433B-A648-D458CE543A96} Adobe XMP Panels CS5 3.0.0.0 has been updated and has been selected for repair. The patch {5C0FEBDA-5A0E-4FC8-91CB-229A4C1561E9} Adobe XMP Panels CS5_3.1_AdobeXMPPanelsAll 3.1.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{3F023875-4A52-4605-9DB6-A88D4A813E8D} Camera Profiles Installer 6.0.0.0 has been updated and has been selected for repair. The patch {A189C479-C7CD-4E08-8CCF-D999B68C0C71} Camera Profiles Installer_6.3_AdobeCameraRawProfile6.0All 6.3.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{37AB3C65-E02C-4DCF-B0E0-4C2E253D8FA3} Photoshop Camera Raw 6.0.0.0 has been updated and has been selected for repair. The patch {FD58D99B-9927-4226-8E00-959A4F76BD89} Photoshop Camera Raw_6.3_AdobeCameraRaw6.0All 6.3.0.0 will be uninstalled now.
    ----------- Payload: {A189C479-C7CD-4E08-8CCF-D999B68C0C71} Camera Profiles Installer_6.3_AdobeCameraRawProfile6.0All 6.3.0.0 -----------
    ERROR: DF037: Unable to delete directory "/Applications/Adobe/AdobePatchFiles"(Seq 2092)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 2092)
    ERROR: DF037: Unable to delete directory "/Applications/Adobe"(Seq 2093)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 2093)
    ----------- Payload: {4058E728-84D8-45CE-8E2D-5F35BD6659A1} Adobe Extension Manager CS5.5 5.5.0.0 -----------
    ERROR: DF027: Unable to copy file from "/private/tmp/.tempdiraXxwHaxr/Assets1/Adobe Extension Manager/Adobe Extension Manager CS5.5.app/Contents/Resources/ro.lproj/menubar.nib/classes.nib" to "/Applications/Adobe Extension Manager CS5.5/Adobe Extension Manager CS5.5.app/Contents/Resources/ro.lproj/menubar.nib/classes.nib" Error 0(Seq 953)
    ERROR: DW063: Command ARKCopyFileCommand failed.(Seq 953)
    ----------- Payload: {54D89F03-8EED-4FF9-BCDF-3B2E11D448A6} AdobeColorCommonSetCMYK 3.1.0.0 -----------
    WARNING: DS012: LocalizeFile: Localized string not found for locale 'de_DE' try fetching for en_US(Seq 21)
    WARNING: DS012: LocalizeFile: Localized string not found for locale 'de_DE' try fetching for en_US(Seq 22)
    ----------- Payload: {45063C56-A2A2-4FD1-A56A-A964723EEE1E} AdobeColorCommonSetRGB 3.1.0.0 -----------
    WARNING: DS012: LocalizeFile: Localized string not found for locale 'de_DE' try fetching for en_US(Seq 11)
    WARNING: DS012: LocalizeFile: Localized string not found for locale 'de_DE' try fetching for en_US(Seq 12)
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Adobe Extension Manager CS5.5: Install failed
    what can I do?
    I tried the installation two times from a CD via shared CD drive

    Hi Daniela,
    Kindly check the Adobe - Adobe Creative Suite 3 Master Collection : System requirements
    We would recommend you to copy the installer to the local machine and then try to install it.
    If you still get this message try the download installer from : Download CS3 products
    You should also check: Errors "Exit Code: 6," "Exit Code: 7" | CS5, CS5.5
    Kindly share the results once done.
    Thanks,
    Atul Saini

  • Problem updating payload

    Hi
    I am having trouble updating the payload of a task. Whatever I try, I get an exception saying that the parent 'task' node is read-only and so the 'payload' child node can't be updated. I have attached a sample stack trace (edited slightly for legibility).
    I have tried all kinds of solutions - cloning nodes, importing nodes, using the multifarious DOMUtil(s) classes that are hanging around to do this and do that, but if the message is correct, then it all seems hopeless.
    How does the task node get set to modifiable? Presumably it should get versioned internally by bpel pm and the updates made to the new copy, but that is clearly not something I should be worrying about as an application developer. Is there a timing problem with the versioning - trying to update before the new version is created? (I am calling IWorklistTask.setPayload followed by IWorklistService.updateTask(context, task), although obviously the code never gets as far as updateTask).
    Is there another method I should be using instead of IWorklistTask.setPayload? Or something else to call beforehand?
    Any help would be appreciated because this is really frustrating :<)
    Best wishes
    John Prince
    org.w3c.dom.DOMException: Modification is not allowed on the w3c dom node
         "<task xmlns="http://xmlns.oracle.com/pcbpel/taskservice/task">
         <taskId>18a858bbe1d2345b:737371:10320abfe2b:-7fb1</taskId>
         <title>Confirm Address Change</title>
         <acquiredBy>john.prince</acquiredBy>
         <owner>bpeladmin</owner>
         <conclusion/><state>ASSIGNED</state><subState>ACQUIRED</subState>
         <processId>HomeAddressChange</processId><processName>HomeAddressChange</processName><taskGroupId/>
         <taskType>http://PC-05-008:9700/orabpel/default/HomeAddressChange/1.0/taskConfigSimpleWorkflow1.xml</taskType>
         <identificationKey/><priority>3</priority><creator>bpeladmin</creator><updatedBy>john.prince</updatedBy>
         <processVersion>1.0</processVersion><instanceId>1113</instanceId><domainId>default</domainId>
         <payload><PersonChangeRequest xmlns="http://bedag.ch/pef/prototype" targetPN="500000" userPN="111111">
              <address><zusatz/><strasse>Scheibenstrasse 19</strasse><plz>3014</plz><ort>Bern</ort></address></PersonChangeRequest>
         </payload>
         </task>"
    because of its root element "task" state is "READ-ONLY". Please consult the documentation for a list of all the permissible operations that can be performed on a dom node when it in the "READ-ONLY" state.
         at com.collaxa.cube.xml.dom.CubeDOMElement.checkIfCanModify(CubeDOMElement.java:1695)
         at com.collaxa.cube.xml.dom.CubeDOMElement.markAsDirty(CubeDOMElement.java:1581)
         at com.collaxa.cube.xml.dom.CubeDOMElement.removeNode(CubeDOMElement.java:472)
         at org.collaxa.thirdparty.dom4j.tree.AbstractElement.remove(AbstractElement.java:1454)
         at org.collaxa.thirdparty.dom4j.tree.AbstractElement.remove(AbstractElement.java:1353)
         at org.collaxa.thirdparty.dom4j.tree.AbstractNode.detach(AbstractNode.java:114)
         at com.collaxa.cube.xml.BaseFacade.removeChildElement(BaseFacade.java:530)
         at oracle.tip.pc.services.hw.task.impl.Task.setPayload(Task.java:1523)
         at oracle.tip.pc.services.hw.worklist.WorklistTask.setPayload(WorklistTask.java:1742)
         at ch.bedag.pef.prototype.iflow.utils.bpel.WorklistUtils.updatePayload(WorklistUtils.java:36)
         at ch.bedag.pef.prototype.iflow.web.pages.Address.changeAddress(Address.java:105)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.tapestry.listener.ListenerMap.invokeTargetMethod(ListenerMap.java:257)
         at org.apache.tapestry.listener.ListenerMap.access$100(ListenerMap.java:46)
         at org.apache.tapestry.listener.ListenerMap$SyntheticListener.invoke(ListenerMap.java:97)
         at org.apache.tapestry.listener.ListenerMap$SyntheticListener.actionTriggered(ListenerMap.java:102)
         at org.apache.tapestry.form.Form.renderComponent(Form.java:423)
         at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
         at org.apache.tapestry.form.Form.rewind(Form.java:568)
         at org.apache.tapestry.engine.RequestCycle.rewindForm(RequestCycle.java:432)
         at org.apache.tapestry.form.Form.trigger(Form.java:582)
         at org.apache.tapestry.engine.DirectService.service(DirectService.java:169)
         at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:872)
         at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:197)
         at org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:326)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:106)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)

    Hi
    I found the problem - as far as I can tell, acquireTask returns an immutable IWorklistTask. When I called getWorklistTaskDetails, it returned a mutable version.
    If this is intentional, you might want to add it to the docs, because is it a bit confusing.
    Best wishes
    John

  • How to retrieve updated payload information from completed HumanTask

    after initiating the HumanTask , updating the payload object from java client api
    payload information set into task object.
    taskService.updateTaskOutcome(workflowContext, task, outcome) ;
    after this call the HumanTask will be Completed.
    Now i tried to get the Payload which was updated in earlier step.
    Task task=taskQueryService.getTaskDetailsByNumber(workflowContext, taskNumber);
    XMLElement payload =(XMLElement)task.getPayloadAsElement();
    in the payload, it only contains payload which was at the time of humanTask initiation .
    Can any one help me, how to retrieve the payload information after completing the HumanTask ?
    Thanks in Advance

    I think the below code can be used to update the payload in the HumanTask
    IWorkflowServiceClient wfSvc=WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT);
              //instantiate the TaskQueryService Object
              ITaskQueryService taskQuerySvc=wfSvc.getTaskQueryService();
              //instantiate the TaskService Object. it has the UpdateOutcome method
              ITaskService taskSvc=wfSvc.getTaskService();
              final String password="jcooper";
              final int taskNumber=123;
              try {
                   //get WorkflowContext
                   IWorkflowContext context=taskQuerySvc.authenticate("jcooper",password.toCharArray(), "jazn");
                   Task task=taskQuerySvc.getTaskDetailsByNumber(context, taskNumber);
                   Element element=task.getPayloadAsElement();
                   Element payloadNew=element.getOwnerDocument().createElementNS("http://xmlns.oracle.com/bpel/workflow/task", "payload");
                   JAXBContext jaxbContext=JAXBContext.newInstance("object.path");
                   Marshaller marshaller=jaxbContext.createMarshaller();
                   //new Object() is your Object which you want to update in Process payload
                   marshaller.marshal(new Object(), payloadNew);
                   task.setPayloadAsElement(payloadNew);
                   //update task payload
                   taskSvc.updateTaskOutcome(context, task, "APPROVE");
              } catch (WorkflowException e) {
                   e.printStackTrace();
              } catch (JAXBException e) {
                   e.printStackTrace();
              } catch (StaleObjectException e) {
                   e.printStackTrace();
    Edited by: user12267906 on Nov 28, 2009 7:43 AM

  • Response payload is not updating the SAP tables in Sync Interface

    Dear Experts,
    We are doing the ECC to SFDC sync interface by using the ABAP Proxy to Webservice ICO scenario (SOAP to SOAP).
    The response payload from SFA has having the SOAP envelope, to remove this I have used the Java mapping with this we resolve the normal graphical mapping issue and ECC is able to get the response at MONI level.
    But the response payload is not updating the ECC SE11 tables at the proxy level.
    I have attached ECC synchronous proxy testing results with response payloads. With this original response payload the proxy is not updating the tables.
    Please help me out.
    Regards
    RK

    Hi RK,
    Set run-time parameter( LOGGING_SYNC) to 1 in Integration Engine (SXMB_ADM --> Integration Engine Configuration -> Edit configuration ) . LOGGING_SYNC may have set to 0 in IE. If LOGGING_SYNC is set to 0 , IE will not save or write the messages .
    Note: If PI system is Java only stack , please perform above step in ECC.
    Thanks
    Hari.

Maybe you are looking for

  • How to share a library with two apple id's?

    We have one library on the iMac. And only 1 computer - so home sharing is not the solution. My husband and I each have our own Apple id and iphones. How does he get access to our library as we have only one as he is a new Apple user. Where am I meant

  • Did restore, pc froze, rebooted, auto-synced to another account-needed to "setup as new" - how to get contacts back?!

    okay...2 days ago the iPhone 4 vibrated for a good 45 min. did a hard reboot on the phone, stopped vibrating, locked on call screen, can't answer or recieve calls. Talked to a tech support last night. Was told to do a restore, saved all of what we co

  • Custom field in item Overview and TCVIEW maintainance

    Hi All, We have two Z fields appended to VBAP table. As of now we are displaying these dields in additional data B tab of VA01/02/03. However, now our requirement is to move these two fields from additional data b to item Overview table where all the

  • Entry Point for internal KM links

    Hi, Using a KM Navigation iView (LinkListExplorer Layout Set) I want to add a link to an internal KM document using "Organize Entries" -> Context Menu -> New -> Link.  When I press browse I can start browsing from where the link will be inserted, but

  • Service tax configurations

    Dear Experts, I have created service tax ledgers as per different business place in same company code. Also this ledgers have been configured in the table J_1IT030k_V in SM30. When I check OB40 it shows me only one ledger for the same tax code. When