Why Job scheduler is not working correctly

Hello,

I’ve created Job Scheduler and activity that it’s going to run by this scheduler. Basically activity is sending Email message, in its last step, in previous steps activity is creating list with data and it is displayed in table inside email message. When I run activity by clicking run on its rule then everything is fine, message is delivered with all info added.
But when I try to use job scheduler, I have email message delivered so activity was running but no data was present inside message.

I tried with access group set to one that is assigned to me and without.

@MaciejJ97 please could you go through the Job scheduler FAQ and Troubleshooting background processing Troubleshooting Guides?

Can you clarify the access groups and permissions of the Job Scheduler run? See related content Enabling Job Scheduler question.

Please use Tracing a Job to debug the errors that occur at the time the scheduler runs.

@MaciejJ97 I think the threshold value is less and you are activity might taking time more than the threshold value set .

increase the threshold value

@MaciejJ97 To prepare data what all steps you are setting if you mention that as well it help to suggest and identify the reason. As from your explanation its clear that no issue with the role or the activity its with the data preparation, if you using obj-methods to get the list of data then that is getting timed out may be. To debug this try to use hard code data content and trigger email from JS to check if that is getting render in email then please re-check the data population.

@SatishS84 Thank you, it was caused because this threshold value, Activity took more time that was set initially.