Domino Workflow automated agents do not work somehow , all of a sudden they stoped working yesterday.

fatihdi
fatihdi used Ask the Experts™
on
In the administration console when we trace we see the  lines below... Type Mismatch is causing a problem I believe....


05.08.2011 13:16:01   AMgr: Agent ('OS Domino Workflow Backgrounder' in 'Workflow\TSAAppl.nsf') printing: ID : 5DC98D4C08DF4F55C22578DF002C735C
05.08.2011 13:16:01   AMgr: Agent ('OS Domino Workflow Backgrounder' in 'Workflow\TSAAppl.nsf') printing: FolderStatusOS : Automation
05.08.2011 13:16:01   AMgr: Agent ('OS Domino Workflow Backgrounder' in 'Workflow\TSAAppl.nsf') printing: Cover : YES
05.08.2011 13:16:01   AMgr: Agent ('OS Domino Workflow Backgrounder' in 'Workflow\TSAAppl.nsf') printing: Type : agent
05.08.2011 13:16:01   AMgr: Agent ('OS Domino Workflow Backgrounder' in 'Workflow\TSAAppl.nsf') printing: Added : (zTestAraciTalepSendMail3)
05.08.2011 13:16:01   AMgr: Agent ('OS Domino Workflow Backgrounder' in 'Workflow\TSAAppl.nsf') printing: Adding Document to process : 5DC98D4C08DF4F55C22578DF002C735C
05.08.2011 13:16:01   AMgr: Agent ('OS Domino Workflow Backgrounder' in 'Workflow\TSAAppl.nsf') printing: Error: Type mismatch( 13)



Why would this be? Before we did not have that problem, when i create a form in workflow, agent belonging to it do not work and send the email message that the agent supposed to send. How can we solve it? Why would that be?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Sjef BosmanGroupware Consultant

Commented:
Type mismatch usually indicated an assignment or comparison where the type of one element doesn't match the other one's.  Often it is the assignment of a scalar where an array instead of an array element is assigned. It can also be date string vs. NotesTimeDate object or so.

I suppose the 13 indicates the line number in the agent. Could you have a look there?

Strange by the way that this started only yesterday. What was changed yesterday?

Author

Commented:
The problem is there are many agents,I don't know which one to look at though, the ones that I was suspicious of I checked but they don't seem to have problem or comparisons at line 13,From yesterday basically I dont happen to know that anything has changed.... I check the logs, there is an error in an agent but i checked that agent in line 13 there is no problem !!!!!

When an automated agents starts working it never goes to next step but seems in system. How can I check it?
Sjef BosmanGroupware Consultant

Commented:
The name of the agent: 'OS Domino Workflow Backgrounder' in 'Workflow\TSAAppl.nsf

Author

Commented:
In that agent the statement is

Sub Initialize
      Call BackgroundAgent
End Sub


and i can not find BackgroundAgent may be it is not allowed for me to see or update?

Author

Commented:
Hi I was able to debug this agent, below you can see in the screenshot ,

after the last document suddenly it gets type mismath error. as you can see from the screenshot
 Backgrounder debug

Author

Commented:
Backgrounder successfully runs but all of a sudden type mismatch error appears somehow although I debug I can not see which line it is but I also did not change any code in the backgrounder why would that happen?
Sjef BosmanGroupware Consultant

Commented:
There should be statement like
      Use "someLibrary"
in the code, one or more. That someLibrary contains the BackgroundAgent.

If you have an R852 Designer, you can search the design using Ctrl-H.
Sjef BosmanGroupware Consultant

Commented:
For example if you change the type of a field, from string to Date, that could have similar effects.

Author

Commented:
32Bit
START
Init OK
 0
OAM Initialized sucessfuly !!!
ID : D5CC7F2E07B6B35BC22578AA0020D0F9
FolderStatusOS : Automation
Cover : YES
Type : agent
Added : (zYillikIzinSendMail8)
Adding Document to process : D5CC7F2E07B6B35BC22578AA0020D0F9
ID : A93924E48EBC3E08C22578BE003F6315
FolderStatusOS : Automation
Cover : YES
Type : agent
Added : (zYillikIzinSendMail8)
Adding Document to process : A93924E48EBC3E08C22578BE003F6315
ID : EB55E5FF9C330FD8C22578C300550780
FolderStatusOS : Automation
Cover : YES
Type : agent
Added : (zYillikIzinSendMail8)
Adding Document to process : EB55E5FF9C330FD8C22578C300550780
ID : FAB1352B8D8862E7C22578D1002636C9
FolderStatusOS : Automation
Cover : YES
Type : agent
Added : (zTestAraciTalepSendMail2)
Adding Document to process : FAB1352B8D8862E7C22578D1002636C9
ID : E1452A596A57AC7BC22578D30020BEE4
FolderStatusOS : Automation
Cover : YES
Type : agent
Added : (zSeyahatSendMail14)
Adding Document to process : E1452A596A57AC7BC22578D30020BEE4
ID : 44134A10348B3A88C22578D300220738
FolderStatusOS : Automation
Cover : YES
Type : agent
Added : (zTestAraciTalepSendMail3)
Adding Document to process : 44134A10348B3A88C22578D300220738
ID : DB97AE9B56859893C22578D3002A176A
FolderStatusOS : Automation
Cover : YES
Type : agent
Added : (zYillikIzinSendMail8)
Adding Document to process : DB97AE9B56859893C22578D3002A176A
ID : 4AA455DDDB909F8EC22578D8002202AA
FolderStatusOS : Automation
Cover : YES
Type : agent
Added : (zSeyahatSendMail14)
Adding Document to process : 4AA455DDDB909F8EC22578D8002202AA
ID : B550810D630FC09FC22578D8003EF463
FolderStatusOS : Automation
Cover : YES
Type : agent
Added : (zSeyahatSendMail14)
Adding Document to process : B550810D630FC09FC22578D8003EF463
ID : 8FE8E9830BA8B2E4C22578D9002217C7
FolderStatusOS : Automation
Cover : YES
Type : agent
Added : (zSeyahatSendMail14)
Adding Document to process : 8FE8E9830BA8B2E4C22578D9002217C7
ID : FCEC8744C9530473C22578D9002EAB70
FolderStatusOS : Automation
Cover : YES
Type : agent
Added : (zTestAraciTalepSendMail3)
Adding Document to process : FCEC8744C9530473C22578D9002EAB70
ID : 5DC98D4C08DF4F55C22578DF002C735C
FolderStatusOS : Automation
Cover : YES
Type : agent
Added : (zTestAraciTalepSendMail3)
Adding Document to process : 5DC98D4C08DF4F55C22578DF002C735C
ID : EC1702C3E1078DB7C22578E100582444
FolderStatusOS : Automation
Cover : YES
Type : agent
Added : (zYillikIzinSendMail8)
Adding Document to process : EC1702C3E1078DB7C22578E100582444
ID : 7456D4B667685C82C22578E10058244A
FolderStatusOS : Automation
Cover : YES
Type : agent
Added : (zYillikIzinSendMail8)
Adding Document to process : 7456D4B667685C82C22578E10058244A
ID : 01041652DAB3153CC22578E2003F7D24
FolderStatusOS : Automation
Cover : YES
Type : agent
Added : (zAracTalepSendMail5)
Adding Document to process : 01041652DAB3153CC22578E2003F7D24
Error: Type mismatch( 13)
Error: Type mismatch( 13)

Author

Commented:
Above is what I see, and then the success message that the agent run on some # of documents.

What should I do? What should I search for in where? with ctrl+H

yes i use designer 8.5.2

tnx

Author

Commented:
when I searhed for BackgroundAgent here is what I found below;What should i do now?

 bckgroundagentsearch

Author

Commented:
Here is what i found as a matching word below !!!

%INCLUDE "q:\Engine\BackgroundAgent.lss"

Author

Commented:
On the OS application  Events script library i get this error.After this error, i get the success message as below !!! what should i do in this case? any idea?

Started running agent 'OS Domino Workflow Backgrounder' on 05.08.2011 16:37:22
Running on new or modified documents: 15445 total
Found 15445 document(s) that match search criteria
Ran LotusScript code
Done running agent 'OS Domino Workflow Backgrounder' on 05.08.2011 16:44:43

Author

Commented:
below in the code i posted my all OS Application Events code,

do you think there is any problem in it?
Groupware Consultant
Commented:
> Here is what i found as a matching word below !!!
> %INCLUDE "q:\Engine\BackgroundAgent.lss"

In that case there is very little we can do: the library is created using an external file that you don't have.

Different approach. Time to have a look at this page:
http://www-10.lotus.com/ldd/wfforum.nsf/DateAllThreadedweb/f3c81afbfe58efaf85256d180049f8af?OpenDocument

Author

Commented:
we returned from backup thus solved the problem thank you for the feedbacks !!!!!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial