UiPath Automation Architecture Associate v1 — Question 11

You need to pass a DateTime to an agent tool. What is the correct way to handle this?

Answer options

Correct answer: C

Explanation

The correct answer is C because converting the DateTime to a String allows for flexibility in parsing within the agent tool which may not directly handle DateTime objects. Option A is incorrect as not all agent tools may natively support DateTime objects. Option B is not applicable because CRON expressions are not a standard way to represent DateTime for all use cases, and Option D is an unconventional method that may lead to inaccuracies in date representation.