cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow/mail Trigering with Activity confirmation in PS (CJ20N)

former_member195427
Active Contributor
0 Kudos

Hi All,

        I have the task of configuring the settings for : Whenever a user confirms an activity in CJ20N t-code system should trigger a mail.

This mail triggering may also happen during saving of project and after activity confirmation.

So, please guide me for the path and config./settings to be maintained so achieve the task.

Regards

Ankur

Accepted Solutions (1)

Accepted Solutions (1)

anjan_paul
Active Contributor
0 Kudos

Hi,

  1st run SWELS to open event trace.

Then run your transaction and confirm it.

Then check in SWEL which BO event is triggerin

Then create workflow , maintain that BO event in start condition.

use proper bindin

Add mail step in workflow.

Give proper agent name in responsible agent in mail step.

test it.

former_member195427
Active Contributor
0 Kudos

Hi All,

        Thanks a lot for your time and guidelines. I really appreciate it.

@ Anjan: Hi Anjan, Now I have achieved all that you suggested in your post. One thing remains: After confirmation > Saving project > Message triggers with description: "Network XXXX saved..."

Here I need to maintain a new messages class/description(Activity XXX confirmed...) and assign the same during saving of project after activity confirmation.

Kindly let me know the path to maintain and achieve the remaining task. Also, if anything missing ,kindly add some pointers if you think the need of it.

Thanks You..

Regards

Ankur

anjan_paul
Active Contributor
0 Kudos

Hi,

  just check from where the message showing, I think it is coming from stardard program.

If the message is coming from Workflow Task bo method, then can redifne the method in SWO1 using sub object, and change the message.

Answers (2)

Answers (2)

suresh_subramanian2
Active Contributor
0 Kudos

Hello Ankur !

                  When the user saves the CJ20N transaction, usually project system status or user status undergoes a change.

                  Is your requirement is to trigger the workflow when project status undergoes a change ? 

                  If so, in the transaction BSVW, maintain system status events with status object type, business object type and event.

                 You can take the help of function consultant to know what status object type should be configured and so the business object type and event.

                 I suppose the status object type, business object type and event would be PDN, ZBUS2001(subtype of BUS2001) and CREATED respectively.

Regards,

S.Suresh.

keohanster
Active Contributor
0 Kudos

Please have a look at CL_IM_PP_WOCONFIRM - We recently used this enhancement to do exactly what you asked for - to send email when an activity is confirmed.

Sue

0 Kudos

Hi Sue,

Can you send me the step to implement the enhancement CL_IM_PP_WOCONFIRM

Taj