Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

MRVS with attachaments

Edoardo Gattei
Tera Expert

Is there any workaround/custom solution to the requirement of having the possibility for MRVS to support attachment type?

4 REPLIES 4

AnirudhKumar
Mega Sage

Hello @Edoardo Gattei ,

This is tough one because : 

1. There is no OOB attachment variable for multi row variable set

2. Every attachment requires a target record, a different one.

 

The only way to do this is with custom code in UI Macro/Widget.

AnirudhKumar
Mega Sage

There is an Attachment type variable defined in Multi row variable sets. Did you explore that?

In a MRVS if you try to create an attachment variable the system stops you.

Ref: Service catalog variable sets | ServiceNow Docs

You cannot include the following variable types in an MRVS:

  • Attachment
  • Break
  • Container End
  • Container Start
  • Container Split
  • HTML
  • Label
  • Macro
  • Macro with label
  • Rich Text Label
  • UI Page

VK20
Tera Contributor

Probably it's too late but there is away to customize it. Sometimes it's very convenient to provide a solution for a customer.

This OOTB Business Rule is used to verify this and some others variable types:

"Restrict types for table variable set".

So you can update it.