Skip to main content
Question

Agent studio use case is not working

  • September 26, 2025
  • 7 replies
  • 110 views

Forum|alt.badge.img+3

Hi All,

I am working on a simple compound action use case where I am pulling data from one of the ServiceNow tables. Even though the use case is quite straightforward, it doesn't seem to be working as expected.

This is one example, but I have observed similar behavior with other use cases as well.

I requested fields like number, justification, and status. I have also mentioned these fields in the use case description, but the result is not aligned with the code written.

 

Compound action

Result

 

Anyone experienced similar behavior with Agent Studio.

 

 

Regards,

Rajeev

7 replies

Kevin Mok
Forum|alt.badge.img+1
  • Community Manager
  • September 26, 2025

Hi ​@rajeev.saraf  - Can you make sure that the action is returning all the fields you are mapping? I’ve seen issues where you may have a `sysparm_fields` query in your http action that limits the amount of fields returned by the API response and for that reason you may be mapping nonexistent values.

 

You can check this in the logs or by simply testing the http action.


Kevin Mok
Forum|alt.badge.img+1
  • Community Manager
  • October 22, 2025

@rajeev.saraf - Following up here, were you able to fix your issue?


Forum|alt.badge.img+3
  • Author
  • Known Participant
  • November 13, 2025

@rajeev.saraf - Following up here, were you able to fix your issue?

I am using Agent Studio 2.0 and It is working fine with system_prompt. still the variables are not being considered 


Forum|alt.badge.img+3
  • Inspiring
  • November 13, 2025

Use the DSL and Data Mapper Playground: https://help.moveworks.com/docs/dsl-and-mapper-playground

Use a real ServiceNow payload and make a mapper in there that works with your data. Something is off in your mapper which isn’t displaying it properly in the bot


Kevin Mok
Forum|alt.badge.img+1
  • Community Manager
  • November 13, 2025

@rajeev.saraf - Following up here, were you able to fix your issue?

I am using Agent Studio 2.0 and It is working fine with system_prompt. still the variables are not being considered 

Did you check if you are returning the fields as I mentioned?


Forum|alt.badge.img+3
  • Author
  • Known Participant
  • November 18, 2025

@rajeev.saraf - Following up here, were you able to fix your issue?

I am using Agent Studio 2.0 and It is working fine with system_prompt. still the variables are not being considered 

Did you check if you are returning the fields as I mentioned?

Yes, I am returning all the needed fields


Kevin Mok
Forum|alt.badge.img+1
  • Community Manager
  • November 18, 2025

It’s hard for me to help you debug if you don’t provide logs that show the payloads that are being handled by the plugin. We have guidelines that provides all the necessary information we need