Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

CLAIRE Copilot for Application Integration

CLAIRE Copilot for Application Integration

Generate XQuery expressions for processes

Generate XQuery expressions for processes

Use
CLAIRE Copilot
in the Process Designer to quickly generate an XQuery expression for a process. The process must be saved and valid.
You can use natural language to provide field information and describe the XQuery that you want to generate.
CLAIRE Copilot
then generates the XQuery expression and displays it in the conversation window.
When you enter a prompt for an XQuery,
CLAIRE Copilot
processes the fields, such as input, output, temporary; and process objects, and generates the corresponding query.
CLAIRE Copilot
helps you work with complex data structures without writing manual XML inputs.
CLAIRE Copilot
validates every XQuery that it generates.
You can then copy the validated XQuery and use it in your process without writing complex code yourself.
Let's take a look at an example that demonstrates how
CLAIRE Copilot
generates an XQuery expression based on your prompt.
The XQuery results might vary based on your inputs.
You submit the following prompt for an existing process:
Give me the XQuery expression to extract the first 19 characters for the current date and time
CLAIRE Copilot replies with the following statement:
( : Assumption: The current date-time is retrieved using the date:now() function, which returns the current time in milliseconds.: ) ( : Instruction: The date:millisToDate() function is used to convert milliseconds to a date-time format. :) (: The substring() function is used to extract the first 19 characters of the date-time string. : ) substring(xs:string(date:millisToDate(date:now())), 1, 19)
You can copy the generated XQuery and paste it in the required process.

0 COMMENTS

We’d like to hear from you!