Schedulables With Date Start or End Path

From 3B Knowledge
Jump to navigation Jump to search

Some schedulable objects (e.g. Expenses) need to be filtered/displayed based on a Date field instead of a DateTime field. In those cases, we need to add the flag isFieldPathDateType to correctly handle the value and avoid Timezone related issues.

"expense": {
	"objectType": "b3s__Expense__c",
	"startFieldPath": "b3s__Date_of_Expense__c",
	"endFieldPath": "b3s__Date_of_Expense__c",
	"isFieldPathDateType": true,
}