ERP Associates, Inc.

Solutions for People and their Software

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 1
TOPIC: Reg Email from CI
2 Years, 9 Months ago #362
Reg Email from CI _GEN_PRINT
Hi,
I have created a CI and even worklist gets triggered. But the thing is Email (which should be sent to the user and also to the approver) is not going?

If EX_TAUTH_HDR.BUSINESS_UNIT_GL = "IND01" Then
&TMP1 = TriggerBusinessEvent(BusProcess."EX_SHEET_ADVANCE", BusActivity."ENTER_TRAVEL_AUTH", BusEvent."Send Email Ind");
Else
&TMP1 = TriggerBusinessEvent(BusProcess."EX_SHEET_ADVANCE", BusActivity."ENTER_TRAVEL_AUTH", BusEvent."Send Email");
End-If;

Above code is the one that trigger's mail.
Do pleae help me in this.

also is there any specific way to trace CI flow?
User Offline
The administrator has disabled public write access. _GOTOTOP
Yamuna
 
Fresh Boarder
Posts: 12
graphgraph
2 Years, 9 Months ago #363
Re:Reg Email from CI _GEN_PRINT
Does the e-mail get triggered when you do this on-line? It sounds like you might not have e-mail enabled on your workflow defaults page. Also you might make sure you have a default workflow administrator defined on the same page that is set up with a correct e-mail address so if it doesn't figure out who to send it to it will go there instead.

Assuming workflow is working in general, it is possible to use the PeopleCode debugger to walk through this. Just set it up as if you were going to do a normal debugging session, set your break points, etc. But instead of going through the web, execute the CI.

You can also turn on trace at the app server level. I can't remember at the moment how to tell the CI to turn on trace but I'll post an update when I remember.

You can also add a File Open statement and write debugging messages to it via PCode.

Hope this helps.

-Brent
User Offline
The administrator has disabled public write access. _GOTOTOP
brent
 
Moderator
Posts: 117
graph
Go to topPage: 1
Back to Top