Where the task payload is stored in the dehydration store

Hi All,
I wanted to get the taskPayload from the BPEL dehydration store. I have gone thru the WFTASK table but I didn't see any column which conains the taskpaylod.
I need this payload to do the following..
- Get the taskPayload
- Modify it so that I can get modifications in the BPEL process when I submitted the task back to BPEL.
Can the above be done from the bpel dehydration store? If yes please help me in finding the exact table for this task payload.
If not guide me how can I access and modify the task payload.
Thank you.

Payloads are generally stored as BLOBS. Here is a definition of all the tables. You can make the payload editable withing the human task if required, so you don't need to go to the DB.
Main tables used by the BPEL engine
cube_instance – stores instance metadata, eg. instance creation date, current state, title, process identifier
cube_scope – stores the scope data for an instance … all the variables declared in the bpel flow are stored here, as well as some internal objects to help route logic throughout the flow.
work_item – stores activities created by an instance … all BPEL activities in a flow will have a work_item created for it. This work item row contains meta data for the activity … current state, label, expiration date (used by wait activities) … when the engine needs to be restarted and instances recovered, pending flows are resumed by inspecting their unfinished work items.
document - stores large XML variables. If a variable gets to be larger than a specific size (configurable via the largeDocumentThreshold property via the domain configuration page) then the variable is stored in this table to alleviate loading/saving time from the cube_scope table.
audit_trail - stores the audit trail for instances. The audit trail viewed from the console is modelled from an XML document. As the instance is worked on, each activity writes out events to the audit trail as XML which is compressed and stored in a raw column. Querying the audit trail via the API/console will join the raw columns together and uncompress the contents into a single XML document.
audit_details - audit details can be logged via the api … by default activities such as assign log the variables as audit details (this behavior can be set via the auditLevel property on the domain configuration page). Details are separated from the audit trail because they tend to be very large in size … if the user wishes to view a detail they click a link from the audit trail page and load the detail separately. There is a threshold value for details too … if the size of a detail is larger than a specific value (see auditDetailThreshold) then it is place in this table, otherwise it is merged into the audit trail row.
dlv_message – callback messages are stored here. All non-invocation messages are saved here upon receipt. The delivery layer will then attempt to correlate the message with the receiving instance. This table only stores the metadata for a message. (eg. current state, process identifier, receive date).
dlv_message_bin – stores the payload of a callback message. The metadata of a callback message is kept in the dlv_message table, this table only stores the payload as a blob. This separation allows the metadata to change frequently without being impacted by the size of the payload (which is stored here and never modified).
dlv_subscription – stores delivery subscriptions for an instance. Whenever an instance expects a message from a partner (eg. receive, onMessage) a subscription is written out for that specific receive activity. Once a delivery message is received the delivery layer attempts to correlate the message with the intended subscription.
invoke_message – stores invocation messages, messages which will result in the creation of a instance. This table only stores the metadata for an invocation message (eg. current state, process identifier, receive date).
invoke_message_bin – stores the payload of an invocation message. Serves the same purpose the dlv_message_bin table does for dlv_message.
task – stores tasks created for an instance. The TaskManager process keeps its current state in this table. Upon calling invoking the TaskManager process, a task object is created, with a title, assignee, status, expiration date, etc… When updates are made to the TaskManager instance via the console the underlying task object in the db is changed.
schema_md – (just added via patch delivered to Veerle) contains metadata about columns defined in the orabpel schema. Use case driving this feature was how to change the size of a custom_key column for a cube_instance row? Changing the db schema was simple but the engine code assumed a certain length and truncated values to match that length to avoid a db error being thrown. Now, column lengths are defined in this table instead of being specified in the code. To change a column length, change the column definition in the table, then change the value specified in this table, then restart the server.
Column-by-column description:
table ci_id_range
- next_range (integer) – instance ids in the system are allocated on a block basis … once all the ids from a block have been allocated, another block is fetched, next_range specifies the start of the next block.
table cube_instance
- cikey (integer) – primary key … foreign key for other tables
- domain_ref (smallint) – domain identifier is encoded as a integer to save space, can be resolved by joining with domain.domain_ref.
- process_id (varchar) – process id
- revision_tag (varchar) – revision tag
- creation_date (date)
- creator (varchar) – user who created instance … currently not used
- modify_date (date) – date instance was last modified
- modifier (varchar) – user who last modified instance … currently not used
- state (integer) – current state of instance, see com.oracle.bpel.client.IInstanceConstants for values
- priority (integer) – current instance priority (user specified, has no impact on engine)
- title (varchar) – current instance title (user specified, no engine impact)
- status (varchar) – current status (user specified)
- stage (varchar) – current stage (user specified)
- conversation_id (varchar) – extra identifier associated with instance, eg. if passed in via WS-Addressing or user specified custom key.
- root_id (varchar) – the conversation id of the instance at the top of the invocation tree. Suppose A -> B -> C, root( B ) = A, root( C ) = A, parent( B ) = A, parent( C ) = B. This instance, instance at the top of the tree will not have this set.
- parent_id (varchar) – the conversation id of the parent instance that created this instance, instance at the top of the tree will not have this set.
- scope_revision (integer) – internal checksum of scope bytes … used to keep caches in sync
- scope_csize (integer) – compressed size of instance scope in bytes
- scope_usize (integer) – uncompressed size of instance scope in bytes
- process_guid (varchar) – unique identifier for the process this instance belongs to … if changes need to be made for all instances of a process, this column is used to query (eg. stale process).
- process_type (integer) – internal
- metadata (varchar) – user specified
table cube_scope
- cikey (integer) – foreign key
- domain_ref (integer) – domain identifier
- modify_date (date) – date scope last modified
- scope_bin (blob) – scope bytes
table work_item
- cikey (integer) – foreign key
- node_id (varchar) – part of work item composite key, identifier for bpel activity that this work item created for
- scope_id (varchar) – part of work item composite key, identifier for internal scope that this work item created for (note this is not the scope declared in bpel, the engine has an internal scope tree that it creates for each instance, bpel scopes will map to an internal scope but there will be other internal scopes that have no mapping to the bpel definition).
- count_id (integer) – part of work item composite key, used to distinguish between work items created from same activity in the same scope.
- domain_ref (integer) – domain identifier
- creation_date (date)
- creator (varchar) – user who created work item … currently not used
- modify_date (date) – date work item was last modified
- modifier (varchar) – user who last modified work item … currently not used
- state (integer) – current state of work item, see com.oracle.bpel.client.IActivityConstants for values
- transition (integer) – internal use, used by engine for routing logic
- exception (integer) – no longer used
- exp_date (date) – expiration date for this work item; wait, onAlarm activities are implemented as expiration timers.
- exp_flag (integer) – set if a work item has been called back by the expiration agent (ie. expired).
- priority (integer) – priority of work item, user specified, no engine impact
- label (varchar) – current label (user specified, no engine impact)
- custom_id (varchar) – custom identifier (user specified, no engine impact)
- comments (varchar) – comment field (user specified, no engine impact)
- reference_id (varchar) -
- idempotent_flag (integer) – internal use
- process_guid (varchar) – unique identifier for the process this work item belongs to … if changes need to be made for all instances of a process, this column is used to query (eg. stale process).
table document
- dockey (varchar) – primary key for document
- cikey (integer) – foreign key
- domain_ref (integer) – domain identifier
- classname (varchar) – no longer used
- bin_csize (integer) – compressed size of document in bytes
- bin_usize (integer) – uncompressed size of document in bytes
- bin (blob) – document bytes
- modify_date (date) – date document was last modified
table audit_trail
- cikey (integer) – foreign key
- domain_ref – domain identifier
- count_id (integer) – many audit trail entries may be made for each instance, this column is incremented for each entry per instance.
- block (integer) – when the instance is dehydrated, the batched audit trail entries up to that point are written out … this block ties together all rows written out at one time.
- block_csize (integer) – compressed size of block in bytes
- block_usize (integer) – uncompressed size of block in bytes
- log (raw) – block bytes
table audit_details
- cikey (integer) – foreign key
- domain_ref (integer) – domain identifier
- detail_id (integer) – part of composite key, means of identifying particular detail from the audit trail
- bin_csize (integer) – compressed size of detail in bytes
- bin_usize (integer) – uncompressed size of detail in bytes
- bin (blob) – detail bytes
table dlv_message
- conv_id (varchar) – conversation id (correlation id) for the message…this value is used to correlate the message to the subscription.
- conv_type (integer) – internal use
- message_guid (varchar) – unique identifier for the message…each message received by the engine is tagged with a message guid.
- domain_ref (integer) – domain identifier
- process_id (varchar) – identifier for process to deliver the message to
- revision_tag (varchar) – identifier for process revision
- operation_name (varchar) – operation name for callback port.
- receive_date (date) – date message was received by engine
- state (integer) – current state of message … see com.oracle.bpel.client.IDeliveryConstants for values
- res_process_guid (varchar) – after the matching subscription is found, the process guid for the subscription is written out here. – res_subscriber (varchar) – identifier for matching subscription once found.
table dlv_message_bin
- message_guid (varchar) – unique identifier for message
- domain_ref (integer) – domain identifier
- bin_csize (integer) – compressed size of delivery message payload in bytes
- bin_usize (integer) – uncompressed size of delivery message payload in bytes
- bin (blob) – delivery message payload
table dlv_subscription
- conv_id (varchar) – conversation id for subscription, used to help correlate received delivery messages.
- conv_type (integer) – internal use
- cikey (integer) – foreign key
- domain_ref (integer) – domain identifier
- process_id (varchar) – process identifier for instance
- revision_tag (varchar) – revision tag for process
- process_guid (varchar) – guid for process this subscription belongs to
- operation_name (varchar) – operation name for subscription (receive, onMessage operation name).
- subscriber_id (varchar) – the work item composite key that this subscription is positioned at (ie. the key for the receive, onMessage work item).
- service_name (varchar) – internal use
- subscription_date (date) – date subscription was created
- state (integer) – current state of subscription … see com.oracle.bpel.client.IDeliveryConstants for values
- properties (varchar) – additional property settings for subscription
table invoke_message
- conv_id (varchar) – conversation id for message, passed into system so callbacks can correlate properly.
- message_guid (varchar) – unique identifier for message, generated when invocation message is received by engine.
- domain_ref (integer) – domain identifier
- process_id (varchar) – identifier for process to deliver the message to
- revision_tag (varchar) – revision tag for process
- operation_name (varchar) – operation name for receive activity
- receive_date (date) – date invocation message was received by engine
- state – current state of invocation message, see com.oracle.bpel.client.IDeliveryConstants for values
- priority (integer) – priority for invocation message, this value will be used by the engine dispatching layer to rank messages according to importance … lower values mean higher priority … messages with higher priority are dispatched to threads faster than messages with lower values.
- properties (varchar) – additional property settings for message
table invoke_message_bin
- message_guid (varchar) – unique identifier for message
- domain_ref (integer) – domain identifier
- bin_csize (integer) – compressed size of invocation message payload in bytes
- bin_usize (integer) – uncompressed size of invocation message payload in bytes
- bin (blob) – invocation message bytes
table task
- domain_ref (integer) – domain identifier
- conversation_id (varchar) – conversation id for task instance … allows task instance to callback to client
- title (varchar) – current title for task, user specified
- creation_date (date) – date task was created
- creator (varchar) – user who created task
- modify_date (date) – date task was last modified
- modifier (varchar) – user who last modified task
- assignee (varchar) – current assignee of task, user specified, no engine impact
- status (varchar) – current status, user specified, no engine impact
- expired (integer) – flag is set if task has expired
- exp_date (date) – expiration date for task, expiration actually takes place on work item in TaskManaged instance, upon expiration task row is updated
- priority (integer) – current task priority, user specified, no engine impact
- template (varchar) – not used
- custom_key (varchar) – user specified custom key
- conclusion (varchar) – user specified conclusion, no engine impact

Similar Messages

  • Where does portal details gets stored in the backend

    Hi Gurus,
    Where does portal contents gets stored in the portal related backend ?
    Example:  We have Content Administration under which we create iviews, pages, worksets and roles. Where does this gets stored ? do they get stored in some table as shown below ?
    Table:
    Parameters:
    iview   'Report a Problem' iView Path      Add Padding Inside Tray   Allow Client-Side Caching   Application Name
    Values:
    Test       com.sap.portal.epsolman.EPSolman     Yes                                     Yes                                Testapp
    How can we fetch the details ?
    Regards,
    Rashmi

    Hi Rashmi
    To get the data from the portal database you need to use a datasource lookup.
    Context ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("jdbc/SAP/BC_JMS");
    Connection con = ds.getConnection();
    The following datasources are provided by default for reading data from portal database
    SAP/BC_JMS,SAP/BC_UME, SAP/BC_WDRR.
    You can read more about JDBC Connector Service in the link [http://help.sap.com/saphelp_nw04/helpdata/en/31/4cc81b275a419c8c72dca94366318a/frameset.htm|http://help.sap.com/saphelp_nw04/helpdata/en/31/4cc81b275a419c8c72dca94366318a/frameset.htm]
    You can also refer to this wiki for more details
    [http://wiki.sdn.sap.com/wiki/display/Snippets/DirectAccesstoDatabaseTables|http://wiki.sdn.sap.com/wiki/display/Snippets/DirectAccesstoDatabaseTables]
    Hope this helps.
    Best Regards,
    Ritesh Chopra
    P.S: Please grant points if the answer was helpful

  • I have an iMac, where are the completed print jobs stored on the iMac and what format are they?

    I have an iMac,  where are the completed print jobs stored on the iMac and what format are they?
    My OSX is 10.10.1

    Hi
    If you are using standard system or HP drivers, than the jobs contents are not saved at all.
    You can see the list of completed jobs per printer via this URL: http://127.0.0.1:631/printers/
    If you want to save a print job, you can do it in the print dialog, by selecting an action prom "PDF" popup.
    It allows to save a job (prior or instead to printing it) as PDF or PostScript.

  • My husband recently tried to sync my ipod to itunes and in the process he managed to loose all the photos I had stored on the ipod.  When I go to my pictures folder on my (Dell) laptop there is now a folder called ipod photo cache.  How do I view?

    My husband recently tried to sync my ipod to itunes and in the process he managed to loose all the photos I had stored on the ipod.  When I go to my pictures folder on my (Dell) laptop there is now a folder called ipod photo cache.  How do I view these files? They are now show as ITHMB files!

    Those photos taken or bumped photos should bi in the iPod's Camera Roll album
    - If they are in an iPod backup then restore from that backup. Note however, that the the backup that had the photos may have been overwritten by a subsequent backup that did hot have the photos on the iPod.See the restore topic of:
    iOS: How to back up
    - If you used PhotoStream then try getting them from your PhotoStream. See that topic of:
    iOS: Importing personal photos and videos from iOS devices to your computer
    - Have you looked on the computer? Maybe they were imported to the computer and then deleted from the iPod. Since the photos were not synced to the iPod they are not in the iPod Photo Cache folder .

  • HT1473 i have an ipod that was associated with a different i-tunes account. I want to sync it to me new i-tunes account but do not want to lose all of the music files already stored on the ipod. how do i do this

    i have an ipod that was associated with a different i-tunes account. I want to sync it to my new i-tunes account but do not want to lose all of the music files already stored on the ipod. how do i do this?

    Hello, peppertwist. 
    Thank you for visiting Apple Support Communities. 
    When receiving the not enough space alert, he is the best article to go through. 
    iOS: "Not enough free space" alert when trying to sync
    http://support.apple.com/kb/ts1503
    Cheers,
    Jason H. 

  • When i double-click the mozilla icon, it doesn't start. In the task manager i noted that the process "firefox.exe" appears and desappear after 5 seconds. The problem remains in mozilla safe-mode, but not in windows safe-mode. Thks!

    Yesterday i installed the firefox 6.0 on my windows 7 computer. When i double-click the mozilla icon, it doesn't start. I opened the task manager and noted that the process "firefox.exe" appears and desappear after 5 seconds. I tried to start mozilla in safe mode but the problem remains. The only way to use mozilla in my computer is restarting the windows in safe-mode. Last thing: i already tried to reinstall the program. Please help me!

    I'm also using Windows 7 on a Lenovo U310 laptop.

  • How do you get the the task bar to appear on the cinema screen

    Just picked up a new Macbook Air. How do you get the task bar to appear at the bottom of the cinema screen?
    Thx,
    Chris

    Try moving the cursor to the bottom of the screen if dock is set to appear at the bottom of the screen.
    A new Mac comes with 90 days of free tech support from AppleCare.
    AppleCare: 1-800-275-2273
    Call AppleCare.
    Best.

  • How to increment predecessors sequentially from the tasks (200 to 215) for the tasks at 300 to 315

    Hi Experts
    How to increment the predecessors sequentially from the tasks (200 to 215) for the tasks at 300 to 315.
    I am doing a work around.
    1. Using project I select tasks 201 to 216 and link it to get the predecessors, which I copy and paste at the task 300 and unlink and delete the predecessors from 201 to 216.
    2. create sequential list from 200 to 215 in spreadsheet (excel) and copy at task 300.
    Is there any better way ..
    Thanks a lot
    Protocoder

    If you have the list arranged properly, you can do this.
    Say you have a list of tasks 201 - 216 inclusive, and they are the predecessors of tasks 301 - 316 inclusive.
    Display the ID column, copy the ID numbers 201 - 216, then paste the list into the predecessors of 301 - 316.
    If you have tasks 201 - 216 and they are all predecessors of 217 (because 217 is a finish  milestone), you can type in all of the predecessors 201,202,203,...216. However, it is easier to copy the ID numbers from the ID column, paste them into MS WORD,
    display the hidden characters to show the paragraph marks, then use replace to replace the paragraph marks with commas, then copy the list and paste back into MSP in the predecessor cell of task 217.
    There are many tricks like this to avoid typing.
    Another useful trick is to use concatenation in EXCEL to construct text strings and paste back to MSP.

  • Where is QM notification "status" stored in the database?

    I would like to see the value of status. In which database table is stored?
    Thank you very much.

    Table JCDS holds the status codes and TJ02T contains the text for the
    status code.
    When reading the JCDS table, object id for notifications will be QM +
    notification number. Be sure to sort your results by udate and utime to
    find the latest status for the order because this table contains all
    status' ever applied to the order.
    Also
    Status are stored in table JEST. Connection is found by field OBJNR which is in QM case simply QM and the notification number. But in QMEL you should find field OBJNR. From JEST you can go further in TJ30 for user status or in TJ02 for system status

  • Where are these api's stored in the database for apex?

    I don't know if my version of APEX has the apex_util.edit_user API. Can You tell me how I can find it?

    Forgive me if I'm reading this wrong here, but I suspect that you have the validation the wrong way round.
    Firstly, I am assuming that when you say "validation" you mean the in-built apex validation items, rather than some custom process. If so, validation messages are only triggered upon failure i.e. if you want the validation to check that passwords are exactly 8 characters long, the validation should be: length(:P90_PASSWORD) = 8 This means that passwords which are 0-7 or >8 characters in length will fail the validation and thus trigger the validation failure message.
    Remember: the purpose of apex validation is to confirm validity - not find invalidity - and thus should be written accordingly. It's a subtle distinction but important!

  • How to retrieve all the tasks for a UserView with the worklist api 10.1.3.1

    Hi,
    I have defined a custom view for user jcooper. The view just displays all the current uncompleted tasks for jcooper.
    I want to use the worklist api to retrieve all the tasks in the view. I first tried it with the following function call:
    taskQueryService.queryViewTasks(workflowContext,viewName, null, null, 0, 0);
    assuming that the viewId in the corresponding java-doc corresponds to the name of the view..However this doesn't work and the method returns a null reference. So viewId is something different than a viewName. Because I cannot find the corresponding viewId for my view (not looked in the db yet, but I don't want to use these ids in my app), I tried the method:
    client.getUserMetadataService().getUserTaskViewList(workflowContext, Partcipant participant);
    However I did not find a method to retrieve a Partipant instance for jcooper in the worklflow api documentation.
    My question now is if someone can help me out to retrieve all the tasks for a specific view. I should be possible I think...
    Thanks!
    Kind regards,
    -Tom

    The second argument (Participant) was added to handle the use case where one user such as an admin or manager needs to retrieve user metadata of another user (offcourse with the required security checks). We will try to do a future enhancement such that if the pariticipant is passed as null then we will assume the metadata is to be retrieved for the workflow context user.
    For now you can define a simple method to create a participant from a workflow context as follows and pass this as an argument to the UserMetadataService call:
    private Participant createParticipant(workflowContext)
    Participant participant = new oracle.bpel.services.workflow.common.model.ObjectFactory().createParticipant();
    participant.setName(workflowContext.getUser();
    participant.setRealm("jazn.com");
    participant.setType("USER");
    return participant;
    // code to retrieve task list...
    UserViewList views = client.getUserMetadataService().getUserTaskViewList(
    workflowContext, createParticipant(workflowContext))
    ...

  • If I install iCloud to my pc, will I be able to get access to the skype chat history stored on the iPad app?

    So my computer with itunes broke down 5 weeks ago. I haven't backed up my ipad or synced it with a computer  since. I want to download or get access to my skype history, stored on the iPad, from my pc and don't know how to. If I backup via iCloud, will I be able to get access to my skype history from that?
    I'm afraid of installing itunes on another computer and connecting my ipad to sync as I don't want it to erase everything during the sync.

    Beth_gruetzner wrote:
    If I sign in to my iCloud account on someone else's PC in order to use the Find My iPhone app for my iPhone, then will my phone or email be notified that I signed into iCloud
    Yes.

  • Cookies are enabled but the commands are not stored as the problem is continuous.You return to the change window and see that the settings reverted to default.How do I make this change stick?

    A visited website says cookies need to be enabled for me to proceed.I follow the advice from Firefox and check the appropriate boxes under privacy and exit. When I try to login the same error message comes up so I repeat the routine and try again.The change is not retained as I see the default settings when I return to the page. I would love to see an APPLY button there to ensure the change will be made before clicking OK.

    Purduejaime wrote:
    I guess that is where the css for animation comes in.
    CSS transitions and animations, while very  eye-catching, do not function in IE9 or older, so be careful about adding too much of either to a menu system.
    Transitions will give you the start and stop frames so instead of a nice fluid change from one state to the other, you essentially get a rollover effect from the start style to the finish style in one step. Animations won't run at all and will only show the start frame.

  • Does the number of photos stored on the Ipod touch affect the quality of photos

    My IPod touch had started out taking great photos, but over time I ended up storing well over 500 photos on it. Recently I noticed that my new photos are of very poor quality (fuzzy) could this be due to the volume of photos stored. I can easily delete them, but would like advice if my photo qulity is affected by storing too many photos in the device.
    Another photo question. ONce a photo is deleted, is it truly gone, r can it be retrieved?
    Thanks!

    " Recently I noticed that my new photos are of very poor quality (fuzzy) could this be due to the volume of photos stored."
    No.
    "ONce a photo is deleted, is it truly gone, r can it be retrieved?"
    it is gone.  Unless you had syncd while the photos was on the ipod.  The you coudl restore form backup.
    Why do you keepo so many pics in the camera roll?  You should be importing these pics regulalry to your computer, as you would with any digital camera.

  • PCD Audit : What information about the PCD objects are stored in the PCD?

    Folks,
    Need some information on the information stored in the PCD for audit purposes.
    Object = Any PCD object, typically iView, Page, Workset, Role, Group...
    1. Creation of any object - Should definately be present in the PCD
    2. Any modification including history - List of all actions on any PCD object - I am sure the last modification is tracked, but can we track every change to the object from creation?
    3. Deletion of any object? - This I am not sure of - Does the PCD store information about deleted object's like deletion time stamp and the user who deleted etc?
    Thank you...

    Hi,
    >>1. Creation of any object - Should definately be present in the PCD
    There is no doubt about this.
    >>2. Any modification including history - List of all actions on any PCD object - I am sure the last modification is tracked, but can we track every change to the object from creation?
       <b>AND</b>
    >>3. Deletion of any object? - This I am not sure of - Does the PCD store information about deleted object's like deletion time stamp and the user who deleted etc?
    There is no versioning concept in PCD right now, but ofcourse planned for future.
    So you cannot track the history and deleted objects, but there exists PCD Repository Manager in KM on which you can activate versioning. Check if this suites your needs. Never tried but logically ever PCD change should get versioned here.
    http://help.sap.com/saphelp_nw70/helpdata/en/76/a8934259a5cc6ae10000000a155106/frameset.htm
    Greetings,
    Praveen Gudapati

Maybe you are looking for