Remove Workflow Instance From Queue
Hi Experts,
We encounter a problem in UCM workflow. Somehow the content of some workflow instances is no longer exists in the system (Don't know why), but the workflow instances are still active. This cause the cps portlet fails to render the approval portlet.
We have tried login as the workflow instance owner in UCM Admin page (http://host:16200/cs), and go to My Content Server > My Workflow Assignments, remove the offending workflow instance manually.
However we don't know how much workflow instances are affected, we would like to remove all offending workflow instances by a single administrative account i.e. "weblogic", but we found that we are not able to do this as the Content Items In Workflow "workflow_name" does not include the offending workflow.
Is there any SQL update to the data in the OCS schema to batch remove the workflow instances?
Ziho
Hi Jiri,
Thanks for the suggestions, below are some more information on the issue.
if you can afford that, the easiest way how to get rid of running workflow instances is to disable an re-enable the criteria workflow(s) that contain it. Be aware that you will lose all workflow statuses of the disabled workflows.We can't afford that as it is a production system
Workflows, however, store workflow statuses on filesystem, so I'm not sure if database operations will be enough.I think so, we tried login as workflow owner, there is a function to "Remove workflow from queue" for specified workflow instance under All Active Workflows --> My Workflow Assignments. However after the removal of the workflow instances, we can't find any data modification in the OCS schema, related tables include WORKFLOWDOCUMENTS, WORKFLOWDOCATTRIBUTES, DOCUMENTS, DOCMETA, REVISIONS and REVCLASSES
by doing so, the admin should see the items - not in My Workflow Assignment, though. You will need to click the name of the wokflow and then, you should see all the items in the particular workflowYes, the admin i.e. "weblogic" can view all active workflow instances WITH content associated with it, but offending workflow instances (i.e. the one WITHOUT content somehow) do not show up.
We believe, if no things go wrong, that all active workflow instances can be found by running the following sql statement "select * from WORKFLOWDOCUMENTS;". However, in our case, workflow instances without content can be found using the same sql, but do not show up in UCM web UI login as "weblogic".
Last, but not least, you should analyse how come an item in a workflow could be deleted.We encountered this during high load (Generated by Stress Test Tool), without login UCM web UI as admin role to delete content.
the admin deleted the item in Repository Manager whilst it routed in a workflow.We tried using admin role to delete content in Repository Manager, it popup error when we tried to delete content which are in active workflow. We had to either Approve or Reject it before we can delete it (which I think the workflow maybe not in active state anymore, i don't know..)
See if any other suggestion I can get. Thanks for the input.
Thanks,
Ziho
Similar Messages
-
How to remove an instance from essbase cluster
I installed the new Hyperion 11.1.2, and I reconfigure the essbase server, it is added to the EssbaseCluser_1, now I have set up 2 instances for this cluster. Now I want to remove an instance from the cluster, how to do it with MaxL or what ever?
[url=http://download.oracle.com/docs/cd/B19306_01/serv
er.102/b14200/statements_8009.htm#i2157988]DROP
DATABASEInstance and Database are different things, be careful before using this statement after 10g :)
[from-documentation]
An Oracle server consists of an Oracle database and an Oracle instance.
The database consists of physical files such as:
The control file where the database configuration is stored
The redo log files, which have information required for database recovery
The data files where all data is stored
The parameter file, which contains the parameters that control the size and properties of an instance
The password file, which contains the superuser (SYSOPER and SYSDBA) passwords
The instance consists of memory structures such as System Global Area (SGA) and Program Global Area (PGA) and background processes that perform tasks within the database as well as the server processes that are initiated for each user session.
The size and structure of an Oracle database and instance impact performance. The physical structure of the database impacts the I/O to hard disks. It is therefore important to both size and place the physical files in such a way that I/O across disks is distributed evenly and waits are minimized. The size of the various memory areas of the instance directly impacts the speed of SQL processing.
[from-documentation] -
Hi,
It seems that after completion of workflow, the workflow instances still persist in database. Is there any way to delete completed workflow instances? I looked in WorkflowInstance methods but did not find any method to remove it. In production system with many simultaneous workflow request comming it will be huge resource drain if completed workflow instances continue to remain in database.
Please do let us know your feedback on the same.
Thanks and Regards,
SujitHi,
Not sure if it's the optimal way, but this is the way i delete the created items... (Maybe someone can optimize this)...
when adding the object, add
pageDisplay.setVariable("type","createdButton");
And then get the childsymbols from where you created them:
var onLocationChildSymbols = sym.getComposition().getStage().getChildSymbols();
$(onLocationChildSymbols).each(function(){
if (this.getVariable("type")=="createdButton"){
this.deleteSymbol(); -
Hoiw to remove print job from queue?
How can I remove a "print job" from the queue. Selecting "cancel all printing jobs" will not remove it. It says it is deleting, it is not doing anything. Help please. As long as this job is showing the printer will not print anything else.
Hi Betty,
Welcome to the HP Forum.
The job queue may be stuck.
Switch off the printer
IF you are running a notebook, first do this:
Create a Restore Point: Create a Restore Point – Win7 OR Create a restore point Win8
Close all your programs and Shut down the computer
Disconnect everything (little Unifier for the keyboard / external mouse can stay)
Perform the Hard Reset for your notebook model
Boot the computer and log in
OR
If you are not running a notebook, just
Create a Restore Point: Create a Restore Point – Win7 OR Create a restore point Win8
stop all your running programs,
shut down completely
Boot the computer and log in
Switch on the printer and wait until it is all back up and running.
That probably won't fix the queue, but it will clear the rest of the cobwebs.
Next, try this:
Control Panel> icon view > Administrative Tools> Services>
Click on Name to sort the column alphabetically >
Scroll down and look for Print spooler> Highlight Print Spooler>
Click Restart the service
Click the Kudos Thumbs-Up to show appreciation and say Thanks.
Although I strive to reflect HP's best practices, I do not work for HP.
Click Accept as Solution when the Answer is a good Fix or Workaround to your Question!
Kind Regards,
Dragon-Fur -
Hi,
I have configured SMD for couple of solutions, if i want to remove certain instances from SMD,is there any way to do this rather than removing that instance from the Solution.
Regards,
CSHi!
On which SPS is your SAP Solution Manager?
With SPS 18 you have a view for systems and solution as well within SMD setup for managed systems.
You can manually edit the SMD settings with Config Tool under Java settings and removing the settings relevant for SMD within your SAP system. -
How to get workflow instance for a workitemid
Hi all ,
I have a requirement where i need to get the workflow instance from a perticular workitem id .
I have searched the forum , i dint get anything .No standard FM is also there .
Please guide me on the same .
regards
sarmisthaHi Sarmistha,
If you workitem ID open the workitem in SWI1/SWIA tcode. Click on workflow log (shiftF8). then click on List with technical details icon (shiftF9). now click on your workflow description (first step under steps column). The workitem ID given in the details column is the workflow instance ID.
If you have queries let me know.
Regards,
Raj -
Message Driven bean: message always removed from queue
We use MDB to dequeue messages from database queue (AQ) and want to handle errors: if the transaction rolls back, message should have retry_count updated and after defined retries should move to exception queue.
The problem is, that with all combinations of transactions settings, the message is removed from queue before onMessage is called. If I use Container managed transactions with Mandatory transaction attribute, call to setRollbackOnly fails with message "java.lang.IllegalStateException: Cannot call setRollbackOnly() current thread is NOT associated with a transaction."
How can I write a MDB, which can commit or rollback message depending on whether exception is or is not thrown? I use JDev 10.1.3.
Thanks,
Viliam
Here are my files:
ejb-jar.xml:
<?xml version = '1.0' encoding = 'windows-1250'?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
<message-driven>
<description>Message Driven Bean</description>
<display-name>SendSMSBean</display-name>
<ejb-name>SendSMSBean</ejb-name>
<ejb-class>sk.transacty.cc.ejb.SendSMSBeanBean</ejb-class>
<transaction-type>Container</transaction-type>
<acknowledge-mode>Auto-acknowledge</acknowledge-mode>
<message-driven-destination>
<destination-type>javax.jms.Queue</destination-type>
</message-driven-destination>
<resource-ref>
<res-ref-name>jdbc/CCDataSource</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</message-driven>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>SendSMSBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Mandatory</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>orion-ejb-jar.xml:
<?xml version = '1.0' encoding = 'windows-1250'?>
<!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
<orion-ejb-jar>
<enterprise-beans>
<message-driven-deployment max-instances="1" name="SendSMSBean" connection-factory-location="java:comp/resource/jmsAQ/QueueConnectionFactories/aqQue" destination-location="java:comp/resource/jmsAQ/Queues/msg_queue" listener-threads="1" min-instances="0"/>
</enterprise-beans>
<assembly-descriptor>
<default-method-access>
<security-role-mapping impliesAll="true" name="<default-ejb-caller-role>"/>
</default-method-access>
</assembly-descriptor>
</orion-ejb-jar>As far as I know XMLType JMS messages are not supported when using OJMS. They might be for OC4J 10.1.3, but I thought it's an AQ limitation rather than an OC4J one.. To be sure you might just log a TAR on Metalink.
hth,
Bastiaan -
Weblogic 10.3 Not Removing Expired Messages from JMS Queues
Dear All,
We have an application that is running on Weblogic 10.3.
This application (let us call this application Y) receives messages on a JMS queue. These messages are placed on the queue by another application (let us call this application X). We would like to have these messages expire within a certain amount of time (i.e. 90000 ms) if they are not consumed.
Now when application X places the messages onto the queue for application Y to consume, the JMS producer sets the time to live to 90000 ms. We can see that expiration time has been set appropriately in the weblogic console. If a message sits on the queue for longer than 90000 ms the state string of the message is changed to "receive expired". What we don't understand is why the expired messages still end up being consumed from the queue.
We understand that Weblogic is supposed to have an 'Active Message Expiration' thread that will remove expired messages from the queue. The Expiration Scan Interval for the JMS Server is set to 30 (seconds).
Can anyone tell us why our expired messages don't seem to be deleted from the queues?
TimThank you for the response Rene.
We have set up both the active expiration scan and the message expiration policy. The active expiration scan is set for every 30 seconds. The message expiration policy is set to "discard". However, the expired messages are still being consumed. Is it possible we are doing something wrong? See a portion of our configuration files below.
We have set up the expiration scan time interval. See a portion of our config.xml below:
<jms-server>
<name>brokerJMSServer</name>
<target>AdminServer</target>
<persistent-store xsi:nil="true"></persistent-store>
<store-enabled>true</store-enabled>
<allows-persistent-downgrade>false</allows-persistent-downgrade>
<hosting-temporary-destinations>true</hosting-temporary-destinations>
<temporary-template-resource xsi:nil="true"></temporary-template-resource>
<temporary-template-name xsi:nil="true"></temporary-template-name>
<message-buffer-size>-1</message-buffer-size>
*<expiration-scan-interval>30</expiration-scan-interval>*
<production-paused-at-startup>false</production-paused-at-startup>
<insertion-paused-at-startup>false</insertion-paused-at-startup>
<consumption-paused-at-startup>false</consumption-paused-at-startup>
</jms-server>
<jms-system-resource>
<name>broker-jms</name>
<target>AdminServer</target>
<sub-deployment>
<name>EhrBrokerRequestQueue</name>
<target>brokerJMSServer</target>
</sub-deployment>
<descriptor-file-name>jms/broker-jms.xml</descriptor-file-name>
</jms-system-resource>
<admin-server-name>AdminServer</admin-server-name>
We have set up the message expiration policy in our jms descriptor. See a portion below:
<?xml version='1.0' encoding='UTF-8'?>
<weblogic-jms xmlns="http://www.bea.com/ns/weblogic/weblogic-jms" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-jms http://www.bea.com/ns/weblogic/weblogic-jms/1.0/weblogic-jms.xsd">
<queue name="EhrBrokerRequestQueue">
<delivery-params-overrides>
<redelivery-delay>-1</redelivery-delay>
</delivery-params-overrides>
<delivery-failure-params>
<redelivery-limit>-1</redelivery-limit>
*<expiration-policy>Discard</expiration-policy>*
</delivery-failure-params>
<jndi-name>EhrBrokerRequestQueue</jndi-name>
</queue>
</weblogic-jms>
What could we be doing wrong?
Kind Regards,
Tim -
Can remove agentless managed sql instances from machines that no longer exist
We have a couple of clustered sql servers that are no longer powered on.
They had several sql instances on them.
We are not able to remove the sql servers from SCOM 2012 SP1 because they have agent less managed devices (the sql instances)
We can remove the sql instances either so there is not way to remove these. We also cant reassign the proxy agent. It seems to do nothing.
How can we remove these?
Thanks LanceYou may use powershell cmdlet Remove-SCOMDisabledClassInstance t remove cluster instance
http://om2012.wordpress.com/2011/12/21/om-12-rc-powershell-cmdlet-remove-scomdisabledclassinstance/
OR
You may follow Rick Jury's Blog on removing cluster instance with MS SQL statement
http://rickjury.blogspot.hk/2011/02/operations-manager-scom-2007-how-to.html
Roger -
How to remove a member from cluster while CQ (cq5.5) instances are running?
Hello,
I have a query:
how to remove a member from cluster while CQ instances are running? And is there any particular log to check that it got removed?
Thanks in advance..I might be wrong. AFAIK you do not have the option to remove without shutting down and modfying cluster.properties.
However this usecase would be minimal because before going into production you would have verified your architecture. -
Removing a child instance from a parent child list. - non L2 Caching
I have a parent Entity
Parent
int id
String name
@onetomany
List <Child> list
and a child Entity
Child
int id
String name
First, let me say, I have L2 cache turned off.
So lets say I have a parent record with three children and I want to remove child 2. I have found if you remove the child only in the EM then when you select the parent again, it shows the child still being there even though the child has been removed from the db. I liked only having to remove the child because its only one instance to pass and remove over the web. But with that said, how do I remove the entity our of the parents Children list so it no longer shows up in the front end in the list? I cant use the selected index in the front end because I sort the data.
Or is it better to save the state of Parent too? But if so, what if Parents Children is hundreds of records. Thats alot of overhead for one record to be deleted. Could use some help here. Thanks in advance.You should always maintain bi-directional relationships. You need to remove the child from the parent.
Since you are not caching, if you acquire a new EntityManager after commit, the parent's child will be gone.
If you refresh the parent in the same EntityManager after commit, then it will be gone.
If the collection is really big, then consider not mapping it, just query for it if you need it. There is no point having a relationship that is too big to read.
Note that if you use weaving, and a List, then remove() will not trigger the collection to instantiate in EclipseLink (nor add, but contains or size will). -
Is it possible to add/remove a person from a group using workflow?
Hi All,
Is it possible to add/remove a person from a group using workflow?What version of SharePoint are you using?
There is CodePlex project that adds additional work flow steps that would help you out. These include
Create Site
Create Group
Add users to group
The link is http://ilovesharepoint.codeplex.com/releases/view/89201
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
Remove message from queue for rule based subscriber
Hi ,
I created a rule based subscription for one xx_Queue when i am dequeing trying dequeue.conditions like REMOVE it's saying i can mention either dequeue condition or rule based .So if i didn't give REMOVE condition i am able to dequeue but next time when i run again the old message is coming because the message was not removed from queue.So how can i approach that one?No version number.
No DDL.
And you want us to guess at the actual message when you write: "it's saying i can mention either dequeue condition or rule based."
Not possible.
Unless you can see one of us standing behind your chair reading your monitor ... you need to provide every single relevant unknown.
If you do not know what is relevant, like the actual message, ask a coworker to help you. -
iMac OS 10.5.8, 2.66 GHz, 4gb memory. I've tried with adblock on and off. I use HTTPS Everywhere.
Netflix suggested it might be a browser issue and to try Safari. I was able to remove items from queue using Safari.Addendum: The .jpg file, below, shows the netflix popup I get when trying to delete a video.
-
Removing deinstalled 9iAS instances from the Infrastructure
I have created an Infrastructure on one machine - and ran the Interopt patch succesfully. I then installed J2EE/Webcache on another
machine to use the Infrastructure. All is well. I then ran the Interopt patch for J2EE and then the http server blows with a java
exception every time. All is not well. I then deinstalled the J2EE component and reinstalled it (needing a unique instance name because
the OID still has knowledge of the old J2EE instance name). The new J2EE instance is up and in use by the Infrastructure. All seems
better. The big question is : how does one safely remove the display (and entry) of the obsolete instance from the Infrastructure
website, and from the local website that displays the old (downed) version and the new (up) version of the J2EE/Webcache instance?
My limited understanding is that you do this from within the OID admin tool...but where and how ? Any answers much appreciated...
Thanks,
DaveI have created an Infrastructure on one machine - and ran the Interopt patch succesfully. I then installed J2EE/Webcache on another
machine to use the Infrastructure. All is well. I then ran the Interopt patch for J2EE and then the http server blows with a java
exception every time. All is not well. I then deinstalled the J2EE component and reinstalled it (needing a unique instance name because
the OID still has knowledge of the old J2EE instance name). The new J2EE instance is up and in use by the Infrastructure. All seems
better. The big question is : how does one safely remove the display (and entry) of the obsolete instance from the Infrastructure
website, and from the local website that displays the old (downed) version and the new (up) version of the J2EE/Webcache instance?
My limited understanding is that you do this from within the OID admin tool...but where and how ? Any answers much appreciated...
Thanks,
Dave
Maybe you are looking for
-
I did a force close on Safari and after rebooting my macbook pro, i no longer see the Safari icon on the dock. How do i get i back?
-
Swf file opens in IE but not in firefox
I have windows xp and flash player9. I created a swf file and published it for flash player 9 and ActionScript3 and embedded it into a web page. It opens nicely in IE8 but when I try to open it in firefox 3.6, I get the message "Content of this page
-
DVD+RW disk is not recognised
I have a Toshiba SA40-231, Model No. PSA40E-08DLT-EN which has a DVD ROM/R/RW. I have been trying to back up some stuff using a DVD+RW 4x. However, the drive fails to recognise the DVD. What am I doing wrong?
-
Can i turn on my find iPhone app from my mac ?
my iphone was stolen from out a grocery store yesterday and from the store camera i could see somebody leaving with it just so happen my find my iphone app was turned off is there any way possible that i can turn it on from my mac computer so that i
-
Trouble transferring email to Outlook for Mac 2011
I purchased a new iMac and Office for Mac 2011. I have years of Outlook email history to transfer over, which the folks at the Apple Store said would work, no problem. That hasn't been the case. None of my .pst files from Outlook (2003, for PC) wi