Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error when deploy an autoscript #26

Open
vijaygumte opened this issue Jan 3, 2025 · 1 comment
Open

Getting error when deploy an autoscript #26

vijaygumte opened this issue Jan 3, 2025 · 1 comment

Comments

@vijaygumte
Copy link

I am trying to set VS code and configured all the parameter as per the instructions under below link.

https://marketplace.visualstudio.com/items?itemName=sharptree.maximo-script-deploy&ssr=false#overview

While doing below step, I only see an option as Deploy to Maximo from View --> Command Palette, and upon selecting Deploy to Maximo I am getting error attached here
ErrorAutoscript

I do see few auto script and OS have already been created in my MAS8 instance, please find screen shot below.
image
image

Maximo Configuration
The very first time you connect to Maximo, this extension will add several required automation scripts to Maximo. To deploy these scripts, the extension requires that you be in the Maximo Administrators group and have access to the MXSCRIPT and MXAPIDOMAIN object structures. To perform the configuration, bring up the Visual Studio Code Command Palette (View > Command Palette... or ⌘ + shift + p or ctrl + shift + p) and select Deploy Automation Script. You will be prompted for a password and then a dialog will be displayed prompting you to configure Maximo.

Please let me know how to resolve this

@jvenhuizen
Copy link
Collaborator

It looks like you are trying to deploy the devops-demo.json directly, which is not supported. The devops-demo.json will be deployed after the devops-demo.js file. The error message is not helpful and I will update the next release to better handle this situation.

Can you please try deploying the devops-demo.js script and confirm that the messages are created as expected?

Also, thank you for your detailed error report with screenshots, it is very much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants