Log messages to Job report from function calls

Recipe ToolsWorkatoData ParserMarketingUtilitiesDeveloper Tool

What it does

When someone calls this function in real time, this automation logs messages to the Job report. It parses JSON, executes JavaScript to map iCIMS login groups to Workday Workers, and returns the result.

Who it's for

IT teams who need to track function execution and data transformation steps in a centralized Job report.

How teams use this

Track data transformation in Job report

Log messages at each step of the iCIMS to Workday mapping so IT can audit the function execution and spot errors in the Job report.

Debug function calls with detailed logs

Add more log messages between JSON parsing and JavaScript execution to capture intermediate values. This helps IT troubleshoot mapping failures faster.

Monitor batch Workday Employee List creation

Use the same logging pattern when the function creates a Workday Employee List in batch mode so HR can verify the full workflow ran.

How it works

  1. Receive the function call. A real-time function call arrives with the data needed to map iCIMS login groups to Workday Workers and log progress.
  2. Parse the JSON document. The Json Parser extracts iCIMS login group data from the JSON payload so it can be transformed and mapped to Workday.
  3. Map iCIMS groups to Workday Workers. The Js Eval step executes JavaScript code to transform iCIMS login groups into the Workday Workers format and prepare the result.
  4. Log progress and return result. Log messages to the Job report at each step and return the mapped data so the caller sees the outcome.