The Taskflow Administration MCP server provides the capability to schedule and administer taskflows through the IDMC Scheduler Service. When you add this MCP server, AI agents can list, create, assign, update, enable, disable, unassign, and delete schedules.
When you give an AI agent a request in natural language, the agent runs the tools to look up the internal URL of a published taskflow, create schedules, assign taskflows to schedules, and maintain or delete those schedules.
Use cases
Key use cases for the Taskflow Administration server:
•Create a recurring schedule, and assign a taskflow to the schedule so that the taskflow runs at fixed intervals.
•Disable a schedule during a release freeze, and enable the schedule again afterward.
•List the schedules in your organization or the schedules that a specific taskflow uses, and check whether each schedule is enabled or disabled.
•Change the start time, recurrence, or time zone of a schedule that several taskflows share.
•Unassign a Taskflow from a schedule to stop the recurring runs of the taskflow.
•Delete a schedule that you no longer need.
Key capabilities
Perform the following tasks with the MCP server:
•Create a schedule with a start time, an end time, a recurrence, and a time zone.
•Assign a published taskflow to an existing schedule, or unassign the taskflow from the schedule without deleting the schedule.
•List the schedules in your organization, or list the schedules that a specific Taskflow uses.
•Update the name, start time, end time, recurrence, or time zone of a schedule, or enable or disable the schedule.
•Delete a schedule that you no longer need.
•Look up the internal URL of the Taskflow service for your deployment group.
Prerequisites
Verify the following prerequisites before you start:
•Informatica Intelligent Data Management Cloud organization with Data Integration and taskflows
•Published taskflow to schedule
•Session ID or a JSON web token (JWT), depending on the organization's authentication configuration
Server URL
Use the following server URL to access the Taskflow Administration server:
Use the following sample prompts with the Taskflow Administration server:
•Schedule my taskflow nightly_sales_load to run every weekday at 9:00 AM UTC.
•Show all the schedules in my organization.
•Which schedule is the taskflow with GUID <guid> assigned to?
•Change the schedule nightly_sweep to run on the New York time zone.
•Disable the schedule named nightly_sweep.
•Stop the taskflow nightly_sales_load from running on its schedule.
•Delete the schedule named nightly_sweep.
Available tools
The Taskflow Administration server provides the following tools:
assign_taskflow_to_schedule
Attaches a published taskflow to an existing schedule by creating a scheduler job that runs as the caller. The schedule status governs whether the taskflow runs. Repeating the call with the same taskflowName fails because job names are unique within an organization. Returns the job ID and name.
Parameters:
- executeAs. User ID from the session token. The taskflow runs as this user.
- orgId. ID of the organization.
- scheduleId. ID of the existing schedule.
- taskflowGuid. Design GUID of the published taskflow.
- taskflowInternalUrl. In-cluster base URL of the Taskflow service, without a trailing slash. The result of the taskflowInternalUrl is collected only from sessionID and JWT.
Taskflow scheduling through MCP requires the user_id and deploymentGroupId values. The Informatica Identity Service (IDS) session JWT contains these values. If you log in with a session ID, scheduling works without additional configuration. If you log in with OAuth, provide your login details to the AI agent client. The client then gets the IDS session and extracts the values.
- taskflowName. Unique job name, normally the taskflow name, without / % # [ ] | ^ or '.
create_schedule
Creates a schedule. The schedule doesn't run until you assign a taskflow to the schedule. Each call creates another schedule, so check list_schedules first to reuse an existing one. Minutely, Hourly, Weekly, and Biweekly schedules need at least one weekday flag set to true. Returns the created schedule with its ID.
Parameters:
- body. Schedule definition, with the following fields:
▪ body.dayOfMonth. Specifies the new day of the month for Monthly schedules, from 1 through 31.
▪ body.description. Optional text that describes the schedule.
▪ body.end. Specifies the last time that the schedule can run. The value must be later than body.start. Use ISO 8601 format in UTC.
▪ body.frequency. The interval between runs. Use this parameter only for Minutely and Hourly schedules. For Minutely schedules, the minimum value is 5 minutes.
▪ body.fri. Runs the schedule on Friday when true.
▪ body.intervalType. The recurrence type of the schedule. Valid values are None, Minutely, Hourly, Daily, Weekly, Monthly, and Biweekly. The Minutely, Hourly, Weekly, and Biweekly types require at least one weekday flag set to true.
▪ body.mon. Runs the schedule on Monday when true.
▪ body.name. The name of the schedule. The name can be up to 255 characters and can't contain a slash (/) or an apostrophe (').
▪ body.orgId. The ID of the organization that owns the schedule.
▪ body.sat. Runs the schedule on Saturday when true.
▪ body.start. The first time that the schedule runs. Use ISO 8601 format in UTC.
▪ body.status. The initial status of the schedule. Valid values are enabled and disabled.
▪ body.sun. Runs the schedule on Sunday when true.
▪ body.thu. Runs the schedule on Thursday when true.
▪ body.timeZoneId. The ID of the time zone for the schedule. Use a time zone ID that Scheduler supports. For example, UTC or America/New_York.
▪ body.tue. Runs the schedule on Tuesday when true.
▪ body.wed. Runs the schedule on Wednesday when true.
▪ body.weekDay. Set to true to run a monthly schedule on a weekday.
delete_schedule
Permanently deletes one schedule by ID. You can't undo this action. The request fails while any taskflow job is still attached to the schedule. First delete each job with unassign_taskflow_from_schedule. Returns no body on success.
Parameter: scheduleIdToDelete. Specifies the ID of the schedule to delete. Gets the ID from list_schedules.
get_taskflow_internal_url
Returns the in-cluster base URL of the Taskflow service for the caller's deployment group. Use the result as the taskflowInternalUrl input of assign_taskflow_to_schedule. This tool is read-only and returns only the base URL. The result of the taskflowInternalUrl is collected only from sessionID and JWT.
Parameter: deploymentGroupId. Specifies the deployment group of the organization, from the session token. The deploymentGroupId is collected only from sessionID and JWT.
Taskflow scheduling through MCP requires the user_id and deploymentGroupId values. The Informatica Identity Service (IDS) session JWT contains these values. If you log in with a session ID, scheduling works without additional configuration. If you log in with OAuth, provide your login details to the AI agent client. The client then gets the IDS session and extracts the values.
get_taskflow_schedules
Lists the scheduler jobs that attach a taskflow to its schedules. Each row is one scheduler job with its schedule expanded, including job name, run-as user, and schedule status, interval type, and start. An empty list means the taskflow has no schedule. This tool is read-only.
Parameters:
- skip. Specifies the number of rows to skip before the page starts. The default is 0.
- taskflowGuid. Specifies the design GUID of the taskflow.
- top. Specifies the maximum number of rows to return, from 0 through 200. The default is 50.
list_schedules
Lists the schedules of the caller's organization. Each schedule has a status of enabled or disabled. Use top and skip to page through the results. Set count to true, to include the total number of rows. To see the schedules for one taskflow, use get_taskflow_schedules instead. This tool is read-only.
Parameters:
- count. Set to true to include the total number of matching rows in the response.
- filter. A Boolean expression that filters the schedules. You can filter on id, name, status, intervalType, timeZoneId, frequency, and createdBy. You can use only the eq, and, and or operators. For status, use the exact value enabled or disabled. For example, status eq 'enabled' and intervalType eq 'Daily'.
- orderby. A comma-separated list of fields and sort directions. For example, name asc,id desc.
- select. A comma-separated list of schedule properties to return in the response.
- skip. The number of rows to skip before the page starts.
- top. The number of rows to return in the page. The value can be up to 200.
unassign_taskflow_from_schedule
Deletes one scheduler job by name so that the taskflow stops running on that schedule. Only the job is deleted. The schedule and any other jobs on the schedule remain. A job name that contains an apostrophe can't be deleted with this tool. It returns no body on success.
Parameter: jobName. Name of the job to delete, exactly as returned by get_taskflow_schedules.
update_taskflow_schedule
Updates a schedule that all assigned taskflows share. You can change the name, timing, recurrence, time zone, and status. Send the current schedule name with every update. Only the fields that you send change. A disabled schedule keeps its assignments, but its taskflows don't run.
Parameters:
- body. Schedule fields to change, with the following fields:
▪ body.dayOfMonth. The new day of the month for Monthly schedules, from 1 through 31.
▪ body.description. Specifies the new description.
▪ body.end. New last allowed run time, after start, in ISO 8601 UTC format.
▪ body.frequency. The new interval for Minutely and Hourly schedules only. The minimum value for minutely schedules is 5.
▪ body.fri. Runs the schedule on Friday when true.
▪ body.intervalType. The new recurrence type. Valid values are None, Minutely, Hourly, Daily, Weekly, Monthly, and Biweekly.
▪ body.mon. Runs the schedule on Monday when true.
▪ body.name. The name of the schedule. The name can be up to 255 characters and can't contain a slash or an apostrophe.
▪ body.sat. Runs the schedule on Saturday when true.
▪ body.start. The new first time the schedule runs. Use ISO 8601 format in UTC.
▪ body.status. The new status of the schedule. Valid values are enabled and disabled, in lowercase.
▪ body.sun. Runs the schedule on Sunday when true.
▪ body.thu. Runs the schedule on Thursday when true.
▪ body.timeZoneId. The new time zone ID that the Scheduler accepts, such as UTC or America/New_York.
▪ body.tue. Runs the schedule on Tuesday when true.
▪ body.wed. Runs the schedule on Wednesday when true.
▪ body.weekDay. Runs a monthly schedule on a weekday when true.
- scheduleId. The ID of the schedule to update. Get this value from list_schedules or get_taskflow_schedules.
Sample request schemas
The following schemas show how you can define a request for each tool on the Taskflow Administration server:
•Resolve session identity from JWT. User ID, organization ID, deployment group ID, and user name read from the session token.
•Resolve tenant ID from JWT. Tenant ID taken from the org_id claim of the OAuth access token.
•Schedule a taskflow. Scheduling of a published taskflow, plus inspecting, changing, pausing, moving, and removing its schedule.
Common issues and actions
If you encounter any of the following issues, consider the remedial actions provided:
Issue: The delete_schedule tool fails with HTTP 500 and error SCHEDULER_12001, "asset is used by another asset".
Action: Delete each taskflow job from the schedule with unassign_taskflow_from_schedule, and then delete the schedule again.
Issue: The assign_taskflow_to_schedule tool fails when you repeat the call with the same taskflowName.
Action: Use a unique job name, because job names are unique within an organization. To reassign the taskflow, delete the existing job first with unassign_taskflow_from_schedule.
Issue: The create_schedule tool returns HTTP 500 for a Minutely, Hourly, Weekly, or Biweekly schedule.
Action: Set at least one weekday flag (Monday to Sunday) to true in the request.
Issue: The Scheduler rejects the time zone, for example Asia/Kolkata, Asia/Tokyo, or Etc/UTC.
Action: Use a time zone ID that the Scheduler accepts, such as UTC, GMT, America/Los_Angeles, America/New_York, Europe/London, or Asia/Calcutta.
Issue: The update_taskflow_schedule tool rejects the update.
Action: Include the current schedule name in body.name. Get it from list_schedules.