cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding system Daemon

Former Member
0 Kudos

Hi experts ,

Can any one suggest me exact path to check for existing and running System Daemons . Strangely i'm facing issue for certain contracts in Draft status as " Locked by system deamon " . and EDit mode was disabled .

Thanks in Advance,

Tayi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The "Background Task Status" in Admistrative Reports under System Adminstration should help you look for the System Daemon status. Also a peek into the application logs should be able to give you an idea.

Regards,

Parankush

Former Member
0 Kudos

Hi ,

How to unlock the contracts . Some contracts under DRaft status alone .. not contract documents are facing issue as ' Locked by System daemon " . I tried with BReak Document Locks . No use . can you pls suggest me idea . to break the lock for COntracts

thanks in aDvance,

Tayi

Former Member
0 Kudos

Is there a workflow active?

You can break the workflows as follow: setup => workflow definitions => choose the workflow => Reports => Current workflow processes. Find your document in the table and click the icon to kill it.

Normally it should not be locked anymore. If it is not editable, you can create a script that executes during 'load' and use the 'IAPILockManager' object to unlock it...

Former Member
0 Kudos

HI ,

Only random contracts under Draft status are facing issue . Still now the contracts are locked . Header tab holds message as currently locked by system Deamon as of 26/oct/2010 . Under workflow setup => workflow definitions => choose the workflow => Reports => Current workflow processes for draft work flow definition .. I'm not able to view any contract documents . ONly Contracts/agreements are facing this issue .

Can you pls clear me on Script .. I Tried with script for Contracts under Draft status and uneditable items to be unlocked . .but no use

Thanks,

Tayi

Former Member
0 Kudos

You can try to create a script which will execute during load (Target = Loaded) for the object Agreements.

In this script you can use the LockManager object to unlock the document:

lockManager = new IapiDocumentLockManager();

lockManager.unlockDocument(session,doc);

Be aware that once you open any Agreement, this script will execute. So it can unlock agreements you don't want to be unlocked. To avoid this it's better to build an extra logic to avoid this from happening (so that it will only execute the code for the desired agreement)

Former Member
0 Kudos

Hi ,

Thanks for your reply . Below is the code i'm trying to implement for unlock of Agreements under Draft Status and i mentioned Target as "LOADED"

// Create a logger for debugging purposes

LogMessageIfc log = Logger.createLogMessage(session);

ApplicationException ae = new ApplicationException(session);

vlvHome = IBeanHomeLocator.lookup(session, doc.getStatusRef());

vlv = vlvHome.find(doc.getStatusRef());

if (vlv.getDisplayName().equals("Draft")){

parent = doc.getParentIBean();

lockManager = new IapiDocumentLockManager();

lockManager.unlockDocument(session,doc);

//IapiDocumentLockManager.unlockAll(session,doc);

No use .. It's not working .

Quick overview of issue - Agreements in random under Draft status with out any contract documents are facing this issue . Can you please suggest me . It's a critical

Thanks in Advance,

Tayi

Edited by: TDeepika on Dec 16, 2010 7:26 AM

Former Member
0 Kudos

Can you try to do it for one specific agreement?

e.g. get the name of the agreement (for example AGR-0001)

lockManager = new IapiDocumentLockManager();

name = "AGR-0001";

if(doc.getDisplayName().equals(name))

{

lockManager.unlockDocument(session,doc);

}

Then open the agreement and see if it is still locked...

Just see if this works. I think, for the VLV, you should pass the 'session' variable as a parameter.

if(vlv.getDisplayName(session).equals("Draft"))

Former Member
0 Kudos

Hi Bram ,

It didnt worked out too . any other suggestions /ideas . Do you need more information ? pLease let me know . Issue was critical . Day-by-day contracts are moving to locked state

Thanks,

Tayi

Former Member
0 Kudos

So if I understand correct, Master Agreements are being locked when entering the phase draft. There is no workflow attached or anything? The document is not being locked by a script neither?...

Do you have direct access to the database?...Maybe you can check out the following:

FCI_AGREEMENT --> Get the object ID of an agreement that is being locked

FCI_DOC_LOCK --> Create the following filter: DOCREF_OBJECT_ID = OBJECTID of the agreement

Check out the column LOCK_MODE?....

Former Member
0 Kudos

exactly . No wrkflow . Contract in draft level faces the system daemon issue

On creation of filter result shows " NO rows selected " .. in FCI_DOC_LOCK table

Thanks,

Tayi