Change subject line in Notification Emails

I want to change the subject line of the notification emails for state changes.  Right now the subject is always: "Documents have changed state"

I want to put the file name of the file changing state in the subject line.  I found an old post for Solidworks 2010 that recommended change the DocumentMsgTemplate in the SQL database.

I changed the subject to contain the '_ConisioFileName_' variable used in other notification email subjects like file check out, check in, etc.

However, it appears that this type of notification does not parse the variables correctly and the notification now comes through as "Document '_ConisioFileName_' has changed state to '_ConisioDestState_'."

This is obviously not what I want.

I checked and the file name is parsed correctly during a check out transition notification.

Is this impossible because EPDM handles state change notifications differently than every other type of notification (parsing variables in the subject line)?

Any advice is appreciated.

SolidworksSolidworks Pdm enterprise Pdm
Answers 11
DS
DS 2020-08-03 Best Answer

Hi Brian,

I'm suffering from the same issue. Did you happen to find a solution? 

Very weird that SW has not fixed it since 2014. 

Best,
Dhaval

DS
DS 2020-08-03

Nope... Not weird at all. There are things from SW98 that havn't been fixed...

WM
WM 2020-08-03

What do you want the subject to be if you have changed state for twenty different documents with a single state change on assembly drawing, including all reference files?

DS
DS 2020-08-03

Haha makes sense. 

DS
DS 2020-08-03

Sorry for the confusion, but this same issue happens even within the body of the message. 

SW does not recognize (& parse) _ConisioFileName_ or any other variables other than _ConisioSourceState_ _ConisioDestState_ _ConisioTimeStamp_ _ConisioFileRows_ anywhere for "Change of State" notification. 

WM
WM 2020-08-03

You must be using SMTP messaging system then.

DS
DS 2020-08-04

Is that a limitation in the SMTP system? 

TW
TW 2020-08-05

Take a look at my post here:

 

If you're using the folder or custom notifications, you'll need a bit more. Take a look at our Q! Tip (video tutorial) on exactly how to modify the subject line.

Q! Tip - Modify your SOLIDWORKS PDM email notifications - YouTube 

Hope this helps!

Tim

Believe in The Q!

DS
DS 2020-08-05

Hi Tim,

This is great and tremendously helpful to modify the notifications. However, it still leaves the question of not being able to parse "_ConisioFileName_" variables in the email subject lines or body for type 14 of the notification. 

I would love if you have any instructions on this. 

Also, I loved your video and was wondering if you can point me to the workflow you created within the video. That would be really helpful.

Cheers

Dhaval

TW
TW 2020-08-07

Hi Dhaval,

Sorry for the late reply, I'll address this later this weekend. I'm just wrapping up 3 days of support calls.

Tim

Believe in The Q!

NA
NA 2020-12-19

I came here with the same issue, but Wayne's vague reply got me thinking.... Notification 14 is sent if you transition ONE or MANY files in bulk together. The beauty is that you just get one email, instead of many, for that single transition. The downside is that you can't access many of the Conisio variables that would apply to a single file. But, that still doesn't explain why you can't access the new and old state info, because it seems that should apply to all the files?