| |
 | Gut zu wissen: Hilfreiche Tipps und Tricks aus der Praxis prägnant, und auf den Punkt gebracht für NX |
| |
 | Doll Fahrzeugbau GmbH: Stücklisten-Qualität unter Kontrolle , ein Anwenderbericht
|
Autor
|
Thema: Teamcenter Workflow E-MAIL Interface (5214 mal gelesen)
|
MAhrens Mitglied Dipl.-Ing.
  
 Beiträge: 528 Registriert: 17.11.2000 SAP,TC8.3,NX7.5,T4S
|
erstellt am: 05. Sep. 2012 10:39 <-- editieren / zitieren --> Unities abgeben:         
Hallo Teamcenter Spezis, ich stehe vor der Aufgabe, dass externe Personen in einen Teamcenter Workflow eingebunden werden sollen. Hiermit sollen zum Beispiel Standardkommunikationsprozesse (z.B. Aufträge) mittels Teamcenter initiiert und überwacht werden (Task Monitor). Eine Einbindung über eine Teamcenter Thin - Client Lösung in einer DMZ zum Web scheidet aufgrund der Komplexität und des Sicherheitsaspekts aus. Als Lösung habe ich mir ein E-MAIL Gateway zu Teamcenter überlegt und erarbeitet. So kann ich zwar mittels tc_mail_smtp.exe E-Mails aus einem Workflow an X-beliebige Adressen versenden (Die externe Mail Adresse wird in einem Formular eingetragen)... jedoch das Reagieren auf eingehende E-Mails war bisher nicht möglich. Da wir Exchange 2010 als Mail Server einsetzen fallen einfach POP3 E-Mail batch scanner aus. Daher habe ich mal im VBScript den beiliegenden Mail Watcher aufgebaut, der per Exchange Web Service eine Mailbox nach neuen Mails durchsucht und dann enstprechende Batch Aktionen im Teamcenter ausführt (z.B. Perform Signoff, Import File). Da ich bisher im Internet keine entsprechende, einfache Lösung für das Exchange 2010 EWS Inbox Scanning gefunden haben, stelle ich das VBScript hier zur Verfügung. Vielleicht hilft es dem einen oder anderen weiter bei der Erstellung von automatischen E-Mail Routinen. Gruß
Matthias
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP |
Mike Ulbrich Ehrenmitglied Business Analyst
    
 Beiträge: 1564 Registriert: 11.04.2005
|
erstellt am: 06. Sep. 2012 08:09 <-- editieren / zitieren --> Unities abgeben:          Nur für MAhrens
Hallo Matthias, ich habe mir bisher nur die Powerpoint ein wenig angesehen aber erst einmal Danke  Im Moment haben wir die Anforderung zwar noch nicht, aber dass du dein Wissen und deine Arbeit hier mit uns allen teilst ist toll. Danke  Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP |
indigitale Mitglied Italy
 Beiträge: 5 Registriert: 13.11.2013 Because with the office integration the managers can view the attached pdf and review from outlook without open TC.
|
erstellt am: 13. Nov. 2013 14:20 <-- editieren / zitieren --> Unities abgeben:          Nur für MAhrens
Zitat: Original erstellt von MAhrens: Hallo Teamcenter Spezis, ich stehe vor der Aufgabe, dass externe Personen in einen Teamcenter Workflow eingebunden werden sollen. Hiermit sollen zum Beispiel Standardkommunikationsprozesse (z.B. Aufträge) mittels Teamcenter initiiert und überwacht werden (Task Monitor). Eine Einbindung über eine Teamcenter Thin - Client Lösung in einer DMZ zum Web scheidet aufgrund der Komplexität und des Sicherheitsaspekts aus.Als Lösung habe ich mir ein E-MAIL Gateway zu Teamcenter überlegt und erarbeitet. So kann ich zwar mittels tc_mail_smtp.exe E-Mails aus einem Workflow an X-beliebige Adressen versenden (Die externe Mail Adresse wird in einem Formular eingetragen)... jedoch das Reagieren auf eingehende E-Mails war bisher nicht möglich. Da wir Exchange 2010 als Mail Server einsetzen fallen einfach POP3 E-Mail batch scanner aus. Daher habe ich mal im VBScript den beiliegenden Mail Watcher aufgebaut, der per Exchange Web Service eine Mailbox nach neuen Mails durchsucht und dann enstprechende Batch Aktionen im Teamcenter ausführt (z.B. Perform Signoff, Import File). Da ich bisher im Internet keine entsprechende, einfache Lösung für das Exchange 2010 EWS Inbox Scanning gefunden haben, stelle ich das VBScript hier zur Verfügung. Vielleicht hilft es dem einen oder anderen weiter bei der Erstellung von automatischen E-Mail Routinen. Gruß
Matthias
Hi Matthias, thanks for your work! Can you help me with the "E-Mail out" Tasks? I have exported my PDF to send through Email, but i don't know how to send exported PDF to external mail! Many Thanks!
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP |
MAhrens Mitglied Dipl.-Ing.
  
 Beiträge: 528 Registriert: 17.11.2000 SAP,TC8.3,NX7.5,T4S
|
erstellt am: 13. Nov. 2013 14:32 <-- editieren / zitieren --> Unities abgeben:         
Hi, I'm using the "invoke-system-action" handler in a workflow EPMtask to run the dos command tc_mail_smtp in a hidden shell environment. The arguments, etc. will be prepared by a vbscript. Regards Matthias Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP |
indigitale Mitglied Italy
 Beiträge: 5 Registriert: 13.11.2013 Because with the office integration the managers can view the attached pdf and review from outlook without open TC.
|
erstellt am: 13. Nov. 2013 14:35 <-- editieren / zitieren --> Unities abgeben:          Nur für MAhrens
Zitat: Original erstellt von MAhrens: Hi,I'm using the "invoke-system-action" handler in a workflow EPMtask to run the dos command tc_mail_smtp in a hidden shell environment. The arguments, etc. will be prepared by a vbscript. Regards Matthias
Ok, thanks! I miss the vbscript Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP |
indigitale Mitglied Italy
 Beiträge: 5 Registriert: 13.11.2013 Because with the office integration the managers can view the attached pdf and review from outlook without open TC.
|
erstellt am: 27. Nov. 2013 08:28 <-- editieren / zitieren --> Unities abgeben:          Nur für MAhrens
Ok, i'm working with the workflow and tc_mail_smtp but I'm missing a step... how to send to tc_mail_smtp the mail address of the recipient taking it from the workflow? I was able to export and attach the datasets involved but not the address where to send it! Thank you very much!
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP |
Rainer Schulze Ehrenmitglied V.I.P. h.c. Dipl.-Ing. im Ruhestand
     
 Beiträge: 4419 Registriert: 24.09.2012
|
erstellt am: 27. Nov. 2013 09:41 <-- editieren / zitieren --> Unities abgeben:          Nur für MAhrens
>>I was able to export and attach the datasets involved but not the address where to send it! Check the online-help for the Workflow Designer, section action handlers. Example: CR-notify "Sends a report through the OS mail to all task reviewers." The email address of any TC user wil be taken from the user profile. Sending emails to non-users from a workflow is not implemented.
------------------ Rainer Schulze Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP |
indigitale Mitglied Italy
 Beiträge: 5 Registriert: 13.11.2013 Because with the office integration the managers can view the attached pdf and review from outlook without open TC.
|
erstellt am: 27. Nov. 2013 09:54 <-- editieren / zitieren --> Unities abgeben:          Nur für MAhrens
Zitat: Original erstellt von Rainer Schulze: >>I was able to export and attach the datasets involved but not the address where to send it!Check the online-help for the Workflow Designer, section action handlers. Example: CR-notify "Sends a report through the OS mail to all task reviewers." The email address of any TC user wil be taken from the user profile. Sending emails to non-users from a workflow is not implemented.
I need to send attachment (Pdf files) through the OS mail to reviewers and with cr-notify is not possible... i'm working to send the attachment through the command tc_mail_smtp. Thank you Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP |
Rainer Schulze Ehrenmitglied V.I.P. h.c. Dipl.-Ing. im Ruhestand
     
 Beiträge: 4419 Registriert: 24.09.2012
|
erstellt am: 27. Nov. 2013 10:47 <-- editieren / zitieren --> Unities abgeben:          Nur für MAhrens
>>tc_mail_smtp Sorry - I did not read the thread carefully enough in the first approach. I do not see any easy way to determine the mail addresses of the reviewers when the list of reviewers is variable. As the addresses are stored in the user profile you will need a customized action handler which reads the addresses from each reviewer's profile and writes them to an email list file. But why sending files to users who have access to TC? We do not operate this way - we expect the reviewers to perform the review in TC. The external email shall just notify those who do not use TC every day. ------------------ Rainer Schulze Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP |
indigitale Mitglied Italy
 Beiträge: 5 Registriert: 13.11.2013 Because with the office integration the managers can view the attached pdf and review from outlook without open TC.
|
erstellt am: 27. Nov. 2013 13:24 <-- editieren / zitieren --> Unities abgeben:          Nur für MAhrens
Zitat: Original erstellt von Rainer Schulze: >>tc_mail_smtpSorry - I did not read the thread carefully enough in the first approach. I do not see any easy way to determine the mail addresses of the reviewers when the list of reviewers is variable. As the addresses are stored in the user profile you will need a customized action handler which reads the addresses from each reviewer's profile and writes them to an email list file. But why sending files to users who have access to TC? We do not operate this way - we expect the reviewers to perform the review in TC. The external email shall just notify those who do not use TC every day.
Because with the office integration the managers can view the attached pdf and review from outlook without open TC.
[Diese Nachricht wurde von indigitale am 28. Nov. 2013 editiert.] Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP |