This content has been marked as final. Show 2 replies
Unfortunately 'strEventName' are not valid unless they are in an 'action' ... as the actions contain such sub-events. Normal "Events" such as 'BefFileImport' do not contain such things.
So the condition you are using "If strEventName" will never be true ...
I would suggest you do a few things:
1. Review the API Guide on OTN -- this will provide you what is valid for such events/actions
2. Move your script (with more conditions) to the ImportAction
Ok fine, I misunderstood a point in an other post... now it's fine.
I can populate a variable in the BefFileImport script an then stop the importprocess in an ImportAction script. Thanks !!