SELECT on EMAIL BODY TEMPLATE not showing results

I have this tables:

Maintenances with this columns: [ID], [CAR], [KM]

Work_Shifts_Details with this columns: [ID], [INSPECTOR], [CAR], [WORK_SHIFT], [KM]

Then i have a bot for sending an email when Work_Shift_Details record is updated

So the Email Body Template goes like this:

The Car <<[CAR].[NAME]>> has surpassed the maintainance KM scheduled to <<Start: SELECT(Maintenances [ID], [CAR]=[_THISROW].[CAR])>> <<[KM]>><<End>>, its actual KM is <<[KM]>>

The CAR ID is <<[_THISROW].[CAR]>>

 

But the SELECT() part it's not showing nothing, any thoughts on this?

Solved Solved
0 1 81
1 ACCEPTED SOLUTION


@Ccuadros wrote:

<<Start: SELECT(Maintenances [ID], [CAR]=[_THISROW].[CAR])>>


Try with [CAR]=[_THISROW-1].[CAR]

 

View solution in original post

1 REPLY 1


@Ccuadros wrote:

<<Start: SELECT(Maintenances [ID], [CAR]=[_THISROW].[CAR])>>


Try with [CAR]=[_THISROW-1].[CAR]

 

Top Labels in this Space