Avatar of fatihdi
fatihdi
 asked on

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

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?
Lotus IBMDatabases

Avatar of undefined
Last Comment
fatihdi

8/22/2022 - Mon
Sjef Bosman

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?
fatihdi

ASKER
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 Bosman

The name of the agent: 'OS Domino Workflow Backgrounder' in 'Workflow\TSAAppl.nsf
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
fatihdi

ASKER
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?
fatihdi

ASKER
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
fatihdi

ASKER
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?
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Sjef Bosman

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 Bosman

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

ASKER
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)
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
fatihdi

ASKER
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
fatihdi

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

 bckgroundagentsearch
fatihdi

ASKER
Here is what i found as a matching word below !!!

%INCLUDE "q:\Engine\BackgroundAgent.lss"
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
fatihdi

ASKER
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
fatihdi

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

do you think there is any problem in it?
ASKER CERTIFIED SOLUTION
Sjef Bosman

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
fatihdi

ASKER
we returned from backup thus solved the problem thank you for the feedbacks !!!!!
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23