Skip to main content
Vassilis
Visitor III
December 28, 2022
Solved

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

  • December 28, 2022
  • 3 replies
  • 3069 views

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

Best answer by 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

 

 

3 replies

Anthony_E
Staff
Staff
January 2, 2023

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,

Best Regards
Patterson
Staff
Staff
January 5, 2023

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

 

Vassilis
VassilisAuthor
Visitor III
January 5, 2023

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
Staff
PattersonAnswer
Staff
January 6, 2023

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

 

 

Vassilis
VassilisAuthor
Visitor III
January 6, 2023

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

thank you very much all for your assistance.