Q

Can I code a Notes script to bundle LEI-polling sequence activity?

In a LEI-polling-activity I can check the option "execute synchronously." But this only counts for the next activity in the sequence. Now I have the following constellation:

Poll -> starts activity 1
activity 1 starts activity 2
activity 2 starts activity 3

But activity 1 must not be started again before activity 3 is finished. I cannot prohibit that by checking the above mentioned flag, because after activity 1 has finished, the poll happily fires again, when the appropriate conditions are met.

So I wondered if there is a way to code a Notes script that bundles activity 1-3 in sequence, so I can place this scripted activity as the one to be triggered by the poll.

Could you please point me to a sample code on how to achieve this?

The "constellation" you have described simply goes beyond LEI's out-of-the-box capabilities. You might consider using a Scripted Activity that operates as the polling governor. That means you have to write a LotusScript agent that looks in the LEI Admin database for these activities and tests for their status, etc. The LEI Admin is just another Notes database, so take a look at how the "Start Activity" button works and the "Active" view.

Do you have comments on this Ask the Expert question and response? Let us know.

This was first published in September 2004

Dig deeper on LEI and DECS for Lotus Notes Domino

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchWinIT

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.UK

Close