How to update old instances with values
Hi,
i am using albpm 5.7 version.
i have a requirement i need to update the oldinstances with updated data.
suppose i have added new external variable to process how it will update the old instances.
plz suggest how to solve this problem.
Regards,
Srinivas.
Hi,
The standard behaviour is that new instances of the process will use the most recent version of the process that has been deployed to the database. This allows you to deploy new versions of the processes without impacting on processes which are already in progress.
When the workflow engine determines what activity to run next in the process, the engine checks what the start date of the process instance was, so that it can check what version of the process was active at that time. If you update the start date for each running process, so that it reflects the date that you saved the most recent version of the flow, then the workflow engine will use the latest version instead of the version that it was running.
This is not supported. I would never suggest that you do this in a production environment - it does not make sense to be making frequent changes to the process in a production environment, since there is no supported mechanism for forcing existing flows to use the new definition. The engine is designed specifically to run the same version of the process for the duration of the process instance - what you want to do is to blow this out of the water completely. If you do change this, then all timing that is recorded against the activities becomes useless, and the other impact on the workflow process us something that you would need to consider incredibly carefully before deciding whether you want to take the risk.
HTH,
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://thoughts.workflowfaq.com ?
WorkflowFAQ support forum: http://forum.workflowfaq.com
Similar Messages
-
How to update this table with values from another table ?
Hi
I have a table "regies". I want to replace the values of the column "regies.agent" by the value of the column "regies_personnes.id"
As you see the tables have a common values column. ie regies.agent = regies_personnes.nom
Table "regies" :
Insert into "regies" (AGENT) values ('Humberdot Alain');
Insert into "regies" (AGENT) values ('Danard Patrick');
Table "regies_personnes" :
Insert into REGIES_PERSONNES (NOM,ID) values ('Humberdot Alain',1);
Insert into REGIES_PERSONNES (NOM,ID) values ('Danard Patrick',2);
Before we have this
sql>select agent from regies ;
Humberdot Alain
Danard Patrick
After the update, the result should be
sql>select agent from regies ;
1
2
Thank you for your kind answer.You will face error if you have duplicates
ORA-01427 Single row subquery returns Multiple rows.Try this way
create table regies(agent varchar2(30));
create table regies_personnes( nom varchar2(30),id number);
Insert into regies (AGENT) values ('Humberdot Alain');
Insert into regies (AGENT) values ('Danard Patrick');
Insert into REGIES_PERSONNES (NOM,ID) values ('Humberdot Alain',1);
Insert into REGIES_PERSONNES (NOM,ID) values ('Danard Patrick',2);
Insert into regies (AGENT) values ('Humberdot Alain');
Insert into regies (AGENT) values ('Danard Patrick');
Insert into REGIES_PERSONNES (NOM,ID) values ('Humberdot Alain',1);
Insert into REGIES_PERSONNES (NOM,ID) values ('Danard Patrick',2);
commit;
update regies r set agent = (select id from regies_personnes p where r.agent = p.nom
and rownum=1)
where exists (select id from regies_personnes p where r.agent = p.nom
commit -
How to Synchronize Test Instance with Production database on regular basis.
Hello
How to Synchronize Test Instance with Production database on regular basis.
I want to update my Test Instance with Production ERP on daily basis without downTime.?Hi,
I recomend to configure physical standby database for your production and when ever you requir open standby Using a Physical Standby DB in Read Write Mode and Flashback DB, so that you can revert all the changes back and put the db in sync. Please follow below metalink notes.
Business Continuity for Oracle E-Business Release 12 Using Oracle 11g Physical Standby Database (Doc ID 1070033.1)
Business Continuity for Oracle E-Business Release 11i Using Oracle 11g Physical Standby Database - Single Instance and Oracle RAC (Doc ID 1068913.1)
Business Continuity for Oracle Applications Release 11i, Database Releases 9i and 10g (Doc ID 216212.1)
update my Test Instance with Production ERP on daily basis without downTime.?With zero down time is not possible I think. -
How to update two tables with trigger
Hi:
how to update two tables with trigger ?
I have two tables :
(1)ASIA
MI number;
(2)ASIA_P
ID number;
When I insert a new value into the asia.MI ,I also can
insert the same value into the asia_p.id field.
I have write a trigger as follows but it does't work.
create or replace trigger MI_TRG
before insert on asia
for each row
declare
seq number;
begin
select MI_SEQ.Nextval into seq from dual;
:new.MI:=seq;
insert into ASIA_PRO(MI_ID)
values
(seq);
end MI_TRG;
How to realize it ?
thanks
zzmWhy do you say it does not work?
-
IF_IXML : How can i add encoding with value UTF-8 to the document object??
Hi
i want to create a xml file with the following content:
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://....">
</OpenSearchDescription>
i did this with the if_ixml interface and rendered the content in a file 'D:\usr\sap\IFD\DVEBMGS01\log\TEST_out.xml
<?xml version="1.0"?>
<OpenSearchDescription xmlns="http://....">
</OpenSearchDescription>
BUT the document attribut(?) encoding="UTF-8"?> is missing!
How can i add encoding with value UTF-8 to the document object?? it should look like:
<?xml version="1.0" encoding="UTF-8"?>
*here is my coding.
TYPE-POOLS: ixml.
CLASS cl_ixml DEFINITION LOAD.
DATA: lo_ixml TYPE REF TO if_ixml,
lo_streamfactory TYPE REF TO if_ixml_stream_factory,
lo_document TYPE REF TO if_ixml_document,
lo_parent TYPE REF TO if_ixml_element,
lo_ostream TYPE REF TO if_ixml_ostream,
lo_renderer TYPE REF TO if_ixml_renderer,
lv_rc TYPE i.
lo_ixml = cl_ixml=>create( ).
lo_streamfactory = lo_ixml->create_stream_factory( ).
lo_document = lo_ixml->create_document( ).
lo_parent = lo_document->create_simple_element( name = 'OpenSearchDescription' "root node
parent = lo_document ).
lo_parent->set_attribute_ns( name = 'xmlns'
value = 'http://....' ).
*rausrendern in file
lo_ostream = lo_streamfactory->create_ostream_uri( system_id = 'D:\usr\sap\IFD\DVEBMGS01\log\TEST_out.xml' ).
lo_renderer = lo_ixml->create_renderer( ostream = lo_ostream
document = lo_document ).
lv_rc = lo_renderer->render( ).
Thanks for help
BrittaUse the following code:
set an document encoding
l_encoding = l_ixml->create_encoding( character_set = 'UTF-8'
byte_order = if_ixml_encoding=>co_none ).
l_success = l_ostream->set_encoding( encoding = l_encoding ).
create a xml renderer
l_renderer = l_ixml->create_renderer( document = l_doc ostream = l_ostream ). -
How to update old records of LIPS used user exit MV50AFZ1
To All Experts,
I have used User Exit MV50AFZ1 and in this user exit i updated the fields
USEREXIT_MOVE_FIELD_TO_LIPS.
LIPS-ETENR = VBEP-ETENR.
Its working fine for new VL0N1 t-code, but what about old recods of LIPS table ?
How to update old records ? Pl. guide me.
YusufHi Yusuf,
See SAP Note 415716 - User exits in delivery processing, it explain how these userexits work and cautions that you must have.
Regards
Eduardo -
How to intigrate old APPL_TOP with new Product. R12
hi All,
I am upgrading APPS 11.5.10 to R12.
I am sucessfully upgrade Apps file system and database.
And R12 services and Database service are running sucessfully.
But Problem is that i want to use OLD Business Flow means I want all old form and report behiver.
Means how to intigrate old APPL_TOP with new Product. R12.
thanks
c2Hi,
For custom forms and reports, you need to open it using Forms/Reports Builder 10g, compile it, and upload it again to the server.
For the CUSTOM_TOPs, make sure it is set in the custom<CONTEXT_NAME>.sh file under $APPL_TOP, and in default.env file on the Applications tier.
Note: 563258.1 - How To Upgrade 11i Custom Forms And Reports To R12
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=563258.1
Note: 552010.1 - Can't Open Custom Forms After R12 Upgrade
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=552010.1
Note: 451934.1 - Accessing Custom Forms After Upgrading From To R12
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=451934.1
Regards,
Hussein -
HT4623 How to update ipod touch with software version 4.1????
How to update ipod touch with software version 4.1????
Open itunes on your computer, connect ipod.
That's it. It will prompt you to update to the latest available version. -
How do you force instances with the same name on the same layer to update?
Maybe someone can tell me why flash doesn’t redraw
components’ x,y positions if they have the same instance name
and are on adjacent frames? (movieclips work fine, just not
components) If I have a button on frame 1 and a button on frame 2
both with the same instance name but different locations on the
stage, frame 2’s button doesn’t show up in the position
I placed it, it stays at the position of frame 1 but still has the
properties of frame 2’s button. The label changes and
everything. If I stick a button on a frame in between and give it a
different instance name there is no problem. I thought it might be
the style manager bug
http://www.gskinner.com/blog/archives/2007/12/cs3_component_b.html
but it didn’t seem to affect. This happens for textareas too
and probably all components although I haven’t tried them.
I’ve tried using drawNow() and validateNow() with no luck
either
http://www.adobe.com/devnet/flash/articles/creating_as3_components_pt3_05.html
Thank you!
// put this on frame 1 along with a button on the stage with
instance name: b
function doit(event) {
if (currentFrame == 1)
gotoAndStop(2);
else
gotoAndStop(1);
b.addEventListener(MouseEvent.CLICK, doit);
stop();
// put another button on frame 2 along with this code and
also make it’s instance name: b but move it so it’s not
in the same x,y coordinates as the button on frame 1
stop();
Something possibly related. I have a movieclip on a layer,
one instance with name “a” on frame 1 and one instance
with name “a” on frame 2 and it has event listeners
inside it that update something on the movieclip. Unless I put the
movieclips on separate layers the event listeners won’t reset
each frame. (example: a button with a tooltip onmouseover that you
want to change the text of from frame 1 to frame 2) You’d
think if they were on separate keyframes at least but no, they need
to be on separate layers too.
I want the movieclip to update each frame. Any ideas?instances (whether components or not) with the same name may
or may not be the same instance. it depends upon how they were
created.
for example, if you create an instance on frame 1 of your
main timeline, give it an instance name and then create a keyframe
on frame 2, the two instances will be the same.
but if you create an instance on frame 1 of your main
timeline, give it an instance name and then create a blank keyframe
on frame2 and create another, what you think is a duplicate,
instance and give it the same name, it will be a different
instance. -
How to fetch old and new value from of a field(non-key) from LOGDATA
Hello SDNers,
i m fecthing LOgdata from dbtlog table[in our case the log is not getting Updated in CDHDR and CDPOS table]
i m using the same logic as it is used in RSVTPROT
but the problem is
" IT is fetching OLD and NEW VALUE after Update from same field LOGDATA of dbtlog table BUT when i used same logic it is FEtching only OLD VALUEs,
CAN U GUYS PLS TELL ME HOW TO FECTH OLD VALUE and NEW VALUE of a PArticular field(non-key field, fecthing key field is not an issue) From LOGDATA field of DBTLOG.
thx a lot in advance
Regards
KuldeepHi,
May be this link is useful to you.
a® -
Hi,
Problem Description: Need to upload a document with values related to document properties using custom form in to document set using JavaScript Object Model.
Kindly let me know any solutions.
Thanks
Razvi444The following code shows how to use REST/Ajax to upload a document to a document set.
function uploadToDocumentSet(filename, content) {
appweburl = decodeURIComponent(getQueryStringParameter('SPAppWebUrl'));
hostweburl = decodeURIComponent(getQueryStringParameter('SPHostUrl'));
var restSource = appweburl +
"/_api/SP.AppContextSite(@target)/web/GetFolderByServerRelativeUrl('/restdocuments/testds')/files/add(url='" + filename + "',overwrite=true)?@target='" + hostweburl + "'";
var dfd = $.Deferred();
$.ajax(
'url': restSource,
'method': 'POST',
'data': content,
processData: false,
timeout:1000000,
'headers': {
'accept': 'application/json;odata=verbose',
'X-RequestDigest': $('#__REQUESTDIGEST').val(),
"content-length": content.byteLength
'success': function (data) {
var d = data;
dfd.resolve(d);
'error': function (err,textStatus,errorThrown) {
dfd.reject(err);
return dfd;
Then when this code returns you can use the following to update the metadata of the new document.
function updateMetadataNoVersion(fileUrl) {
appweburl = decodeURIComponent(getQueryStringParameter('SPAppWebUrl'));
hostweburl = decodeURIComponent(getQueryStringParameter('SPHostUrl'));
var restSource = appweburl +
"/_api/SP.AppContextSite(@target)/web/GetFolderByServerRelativeUrl('/restdocuments/testds')/files/getbyurl(url='" + fileUrl + "')/listitemallfields/validateupdatelistitem?@target='" + hostweburl + "'";
var dfd = $.Deferred();
$.ajax(
'url': restSource,
'method': 'POST',
'data': JSON.stringify({
'formValues': [
'__metadata': { 'type': 'SP.ListItemFormUpdateValue' },
'FieldName': 'Title',
'FieldValue': 'My Title2'
'bNewDocumentUpdate': true,
'checkInComment': ''
'headers': {
'accept': 'application/json;odata=verbose',
'content-type': 'application/json;odata=verbose',
'X-RequestDigest': $('#__REQUESTDIGEST').val()
'success': function (data) {
var d = data;
dfd.resolve(d);
'error': function (err) {
dfd.reject(err);
return dfd;
Blog | SharePoint Field Notes Dev Tools |
SPFastDeploy | SPRemoteAPIExplorer -
How to update model only if value has changed?
I would have expected that a model property is only updated if the value of the UIComponent has changed, but I am apparently wrong.
Why is the setter-Method of a model always called, even if the old and new value are the same (or better: equal)?
I have not found anything in the spec that defines the behaviour of an implementation in this regard.
thanks in advance for any comments
DanielI think the value always gets set, why? Does it cause problems on your end?
Though, it will be better if they don't update it when they are the same values. -
How to update a column with default in a tabular form.
We have a tabular form that has a submit button that does a multi row update. We would like to update a column with a defaut like APP_USER = updated user when the row is updated. Is this possible and how?
used lovs and conditions.
-
HT4623 How to update an iPhone with iOS 4
I have already got an iPhone 4 that has been recently updated but I have now got my sisters old iPhone 4 as I smashed mine and she has never updated it how do you update it from iOS 4? Thanks
UPDATING iOS
Over the air updating of iOS needs iOS 5 or later
The following link explains how to update
This link explains how to update using itunes
This explains how to transfer purchases to your computer -
How to update item instance in oracle install base?
Hi,
I have a doubt in updating item instance in oracle install base.
I am using a API named csi_item_instance_pub.update_item_instance for this. I want to update Party OWNER, party contacts, Current location,Install location, bill_to address,ship_to address..etc. When i try to update party owner, it is updating in csi_i_parties(col:party_id) as well as updating in csi_item_instance(owner_party_id). In csi_item_instance table,owner_party_id column is updated. but corresponding owner_party_account_id is not changed. I have given party_account_id to update in csi_ip_accounts table. It has changed in csi_ip_accounts table. But in csi_item_instance table(owner_party_account_id) is not changing. Can anybody help on how to change owner_party_account_id in csi_item_instance table please? Thanks in advance.
--Muruga
Edited by: Murugeshapps on Jul 1, 2009 12:07 AMOut of the box, I don't think that there is any API or program to delete the records from csi_item_instances because deleting IB record affects many modules (like Inventory, Order, Service Contracts etc). IB records should be expired if they are created incorrectly and you can run Transaction History Purge program to delete all history records related to that item.
Thanks
Shree
Maybe you are looking for
-
Formatted on Mac OS === how to use on Windows
I´m traveling, and want to use my ipod 4G on my friend´s computer - windows xp. But when I connect the ipod, iTunes says this "iTunes has detected an iPod formatted on Macintosh. You must reformat this iPod to use it on XP". Is this for real???? Is t
-
Hi, I have a mac book pro running mavericks and recently tried to connect to a 3rd gen apple tv but the airplay icon is not showing up in the top bar. I then tried my girlfriends laptop running mountain lion and it showed up straight away. Any sugges
-
Search Anomalies Using Oracle Text
Hi, I get inconsistent results returned between the Basic and Advanced Searches. For example if I do a Basic Search on 'bats' then I get 51 hits returned. If I do a similar search for 'bats' using Advanced Search (Contains All/Any across a single Con
-
How do you fix itune error 7(windows error 1114)
how do you fix itune error 7 (windows error 1114)
-
IPhoto shows original as thumbnail and in non-edit mode
Hey guys, my problem started when my MacBook Pro turned of when iPhoto '11 was open without going into safety mode (battery needs replacement; haven't planned on it since it is only 3 years old and 550 cycles) then no thumbnails were displayed at all