Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Vassilis
New Contributor

%%result%% is not working in Body of Email

Hi,

I have an automation script for FortiProxy v7.07, which backups to FTP and then sends an email.

The configuration of the email is

Body:  %%log%% - %%results%

 

What i get as an email is only the log and after the actuall word %%results%%

I tried to put it %%results%%: as i see on the example but it is not working, only the %% log%% working and i get this:

 

Vassilis_0-1672228428152.png

 

On Fortinet, the same exact body variables work as normal

 

Vassilis_1-1672228529831.png

 

Does anyone have any hint on how to get the actual result ?

 

Many thanks

-Vassilis

1 Solution
Patterson

Hi Vassilis,

 

I think we got the issue !!! Please change the Action execution from Parallel to Sequential.

 

Patterson_0-1672975797355.png

 

The issue was occurring for me also, when set to parallel...

Patterson_1-1672975886196.png

 

 

Regards,

Patterson

 

 

Regards,
Patterson

View solution in original post

5 REPLIES 5
Anthony_E
Community Manager
Community Manager

Hello Vassilis,

 

Thank you for using the Community Forum.

I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.


Regards,

Anthony-Fortinet Community Team.
Patterson
Staff
Staff

Hi Vassilis,

 

I have tested the same and observed to be working as expected. Please refer the below logs

 

Mail Log:

Patterson_0-1672893288706.png

 

Config log:

 

 

Patterson_2-1672893495418.png

 

 

Can you try re-config the same once.

 

Regards,

Patterson

 

Regards,
Patterson
Vassilis

Hi Patterson thanks for the reply.

 

I checked via CLI and i added again the body message which was not there even though i get the log part

 

Vassilis_1-1672906712688.png

 

I set a new attribute and it is exactly like yours

 

Vassilis_5-1672907017280.png

 

 

The automation

 

Vassilis_3-1672906781521.png

 

as you can see the email is the same, called "Backup"

 

but again the email i receive is without the result

 

Vassilis_4-1672906867227.png

 

What else can we do ?

 

Patterson

Hi Vassilis,

 

I think we got the issue !!! Please change the Action execution from Parallel to Sequential.

 

Patterson_0-1672975797355.png

 

The issue was occurring for me also, when set to parallel...

Patterson_1-1672975886196.png

 

 

Regards,

Patterson

 

 

Regards,
Patterson
Vassilis
New Contributor

Yeap! that's it ! you are right, it worked !!!!

thank you very much all for your assistance.

 

Labels
Top Kudoed Authors