Post

2 followers Follow
0
Avatar

Daily time submission reminder follow up

Hi Tamir - your example was close - but fell a bit short of what we are trying to accomplish - we came up with following alternative Conditional Action List logic - but nothing the emails are not firing off - any help is more than appreciated!

///////////////////////////////////

GetWorkingTimeForGivenPeriod(currentobject(),today(),today())/hours(1) > 1

&& (GetSumOfTimesheetReportHoursForGivenPeriod(currentobject(),today(),today())/minutes(1) = 0

|| GetSumOfTimesheetReportHoursForGivenPeriod(currentobject(),today(),today())/minutes(1) = null)

&& ($LicenseType = 'Full' || $LicenseType = 'TeamMember')

Dean Broking Answered

Please sign in to leave a comment.

1 comment

0
Avatar

Hi,

 

 

If the emails are not triggering off you'll have to isolate each individual condition and see what it return and compare it to the expected result. 

The best practice to isolate the problem is:

1. Remove the eval

2. Have action Notify as one of the actions.

3. Print the conditions results on the screen

Condition 1: {GetWorkingTimeForGivenPeriod(currentobject(),today(),today())/hours(1)}

Condition 2: {GetSumOfTimesheetReportHoursForGivenPeriod(currentobject(),today(),today())/minutes(1)}

Condition 3: {$LicenseType}

 

Please update me regarding your progress.

 

Good luck!

Tamir

Tamir Avital 0 votes
Comment actions Permalink