Simulating upcoming events and tuning your schedule
Before you begin
-
Generate access tokens:
- For users, generate a personal access token by following Generating a Personal Access Token.
- For service accounts, generate a service access token by following Generating a service account token.
Once generated, a service account token expires after 30 minutes. If it expires, generate a new token using the POST method at the endpoint https://api.<env>.cloud.talend.com/security/oauth/token. For more information about generating a token, see Generating a service account token.
- You must know the ID of the schedule for which you need to simulate events.
-
To simulate upcoming events, ensure that the user or the service account to be used to issue API calls has the VIEW permission for at least one workspace in the environment in which you need to simulate and tune schedules.
If the schedule to be tuned has been associated to a task or a plan, the VIEW permission for the workspace to which this task or plan belongs is required.
- To tune your schedule, that is to say, update triggers defined for that schedule,
the user or the service account to be used must have the
TMC_OPERATOR role and the EXECUTOR permission
for at least one workspace in the environment in which you need to create the
schedule.
If the schedule to be tuned has been associated to a task or a plan, the EXECUTOR permission for the workspace to which this task or plan belongs is required.