span8
span4
span8
span4
I am trying to add file reference to a job submitter from an email that come is through the notification service.The email comes in here:
Resources /System /temp/emailattachments/20180323010138-tgsdata@production-tgs.fmecloud.com-test/autocad.dwg
I had use the email attachments before when they came into ${FME_SHAREDRESOURCE_TEMP}/${FME_JOD_ID}
Hi@garydlester,I think an easy way is to configure the workspace as a Notification Service so that it can read the message (including paths of attachments) published by an Email Publisher.See these links to learn about the content of a JSON message from an Email Publisher.
Assuming that you have already created a Topic and an Email Publisher that would publish the Topic,you can create a workspace containing a reader (Text File or JSON) which populates the message from the Email Publisher into the 亚搏在线workflow.Add a Text File reader to the workspace,for example,and register it to "Notification Service" with these properties.
Once you published the workspace to the FME Server with settings above,the FME Server automatically generates a Subscriber (workspace type),which subscribes the Topic and triggers the workspace.
With the configuration above,the workspace will be run whenever the Email Publisher meets an email,so you can implement a 亚搏在线workflow in the workspace in order to extract the paths of attachments from the JSON message and do something with them.
Hope this helps.
Send response email to email address FME Cloud2 Answers
Swiss issue: problem with INTERLIS2-writer on FME Cloud10 Answers
How do you avoid overwriting a common output zip file when used by multiple Job Submitter jobs?3 Answers
WebSockets for FME Server (cloud),WebSocketSender: Failed to perform handshake with remote host2 Answers
How do you initiate a Job Submitter Service via HTTP POST?5 Answers
© 2019 亚搏在线Safe Software Inc |Legal