ā12-04-2015 11:40 AM - edited ā03-14-2019 03:31 PM
I would appreciate if someone could take a look at the attached script. Hopefully I am overlooking something easy.
When I run debug the Upload Document Step always goes to Unsuccessful.
--- Thanks to both reponses I was able to find my error. I was overthinking what I wanted to use the Authenticate step for---
Solved! Go to Solution.
ā12-04-2015 12:30 PM
There is a problem the way you are doing the user authentication i.e., using the combination of Extension and Pin. Remember Upload Document step will only work when the user that you are using has administrative rights on the UCCX plus you use the combination of userid and password as you cannot login into UCCX with etension and pin.
I have modified the script for you and am using derawat as userid and password as cisco Change it accordingy with the userid and password through which you can login into UCCX as administrator.
Regards
Deepak
- Rate Helpful Posts -
ā12-06-2015 07:27 PM
Hi,
I tested this in my lab couple of things were incorrect.
1) You do not need get user step.
2) Upload document should use the user used for authentication, now since upload document step requires a user variable I had to convert the "strCCMUserID" as User type and make changes to the user.
Authentication does not matter if you are using PIN or password both will work, thats why the option is given in the "Authenticate User" Step.
Here is the screenshot from my lab where I have done an active debug and on the succesfull branch of upload document of your script using my pin.
Attached is your tested script from my lab.
Do the following with this:
Change userid from cpiplani to yours.
Change pin to the correct one.
The new file will be created inside "en" folder under document management.
PS: I had uploaded an incorrect copy of the script earlier in the attachment, I have edited my post, verify if it works or if you need any help.
Regards,
Chakshu Piplani
-Please rate helpful posts and mark correct answers-
ā12-04-2015 12:30 PM
There is a problem the way you are doing the user authentication i.e., using the combination of Extension and Pin. Remember Upload Document step will only work when the user that you are using has administrative rights on the UCCX plus you use the combination of userid and password as you cannot login into UCCX with etension and pin.
I have modified the script for you and am using derawat as userid and password as cisco Change it accordingy with the userid and password through which you can login into UCCX as administrator.
Regards
Deepak
- Rate Helpful Posts -
ā12-06-2015 07:27 PM
Hi,
I tested this in my lab couple of things were incorrect.
1) You do not need get user step.
2) Upload document should use the user used for authentication, now since upload document step requires a user variable I had to convert the "strCCMUserID" as User type and make changes to the user.
Authentication does not matter if you are using PIN or password both will work, thats why the option is given in the "Authenticate User" Step.
Here is the screenshot from my lab where I have done an active debug and on the succesfull branch of upload document of your script using my pin.
Attached is your tested script from my lab.
Do the following with this:
Change userid from cpiplani to yours.
Change pin to the correct one.
The new file will be created inside "en" folder under document management.
PS: I had uploaded an incorrect copy of the script earlier in the attachment, I have edited my post, verify if it works or if you need any help.
Regards,
Chakshu Piplani
-Please rate helpful posts and mark correct answers-
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide