We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Add attachment on Record producer in ATF

pranjalsrvs
Tera Contributor

Hello 

I have a requirement to add a attachment in a variable of type attachment on record producer through ATF in servicenow. How to achieve this requirement in ATf

pranjalsrvs_0-1770190199645.png

pranjalsrvs_1-1770190211307.png

 

2 REPLIES 2

Shaqeel
Mega Sage

Hi @pranjalsrvs 

 

Your requirement is bit confusing, could you please elaborate and kindly attach the page screenshot where you want to add attachment.


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel

pranjalsrvs_0-1770270781893.png

Input message and output message are two variables (attachment type) and I want to add attachment through ATF test step but couldn't find any suitable step. 

 

This is the test step I've created but it fails.

pranjalsrvs_1-1770270874756.png