Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Orchestration workflow input variable Object data field is limited to 254 characters when editing 'Create AD Object' workflow activity - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Orchestration workflow input variable Object data field is limited to 254 characters when editing 'Create AD Object' workflow activity
KB0622624

Orchestration workflow input variable Object data field is limited to 254 characters when editing 'Create AD Object' workflow activity


1183 Views Last updated : Sep 21, 2024 public Copy Permalink
KB Summary by Now Assist

Description

When editing 'Create AD Object' workflow activity in Orchestration, the 'Object data' field is limited to 254 characters, as shown in the screenshot:
 



Steps to Reproduce

1. Open a workflow editor.
 
2. Create a new workflow.

3. Drag and drop the Create AD object workflow activity from Core tab.
 
3.Copy and paste the script below under Object data: 
 
{ 
"givenName" : "$⁠{workflow.scratchpad.firstname }", 
"SN" : "$⁠{workflow.scratchpad.lastname }", 
"title" : "$⁠{workflow.scratchpad.title }", 
"userPrincipalName" : "$⁠{workflow.scratchpad.upn }", 
"displayName" : "$⁠{workflow.scratchpad.displayname }", 
"employeeNumber" : "$⁠{workflow.scratchpad.employeenumber }", 
"employeeID" : "$⁠{workflow.scratchpad.employeeid }", 
"title" : "$⁠{workflow.scratchpad.title }", 
"department" : "$⁠{workflow.scratchpad.department }", 
"physicalDeliveryOfficeName" : "$⁠{workflow.scratchpad.location }", 
"postalCode" : "$⁠{workflow.scratchpad.zipcode }", 
"l" : "$⁠{workflow.scratchpad.city }", 
"personalTitle" : "$⁠{workflow.scratchpad.preferredtitle }", 
"st" : "$⁠{workflow.scratchpad.state }", 
"division" : "$⁠{workflow.scratchpad.division }", 
"co" : "$⁠{workflow.scratchpad.country }", 
"telephoneNumber" : "$⁠{workflow.scratchpad.worknumber }", 
"mobile" : "$⁠{workflow.scratchpad.mobilenumber }", 
"facsimileTelephoneNumber" : "$⁠{workflow.scratchpad.workfaxnumber }", 
"mail" : "$⁠{workflow.scratchpad.emailaddress }", 
"description" : "$⁠{workflow.scratchpad.departmentdescription }", 
"manager" : "$⁠{workflow.scratchpad.supervisorname }", 
"employeeType" : "$⁠{workflow.scratchpad.emptype }", 
"accountExpires" : "$⁠{workflow.scratchpad.termdate}" 
} 

Workaround

After carefully considering the severity and frequency of the issue, and the cost and risk of attempting a fix, it has been decided to not address this issue in any current or near future releases. We do not make these decisions lightly, and we apologize for any inconvenience.

Please use one of the following workarounds:

  • Assign the json to a scratchpad variable in a run script and pass in the scratchpad variable.

  • Create an Ad Object and then an Update AD Object on the workflow.


Related Problem: PRB681246

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

Attachments

Attachments

  • Screen Shot 2017-05-09 at 3.36.20 PM.png

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.