so i created a button using the column manager, I set the widget to button and in the script path i have given a simple print statements, it works fine when i do it as a trigger but not when i add it to a button.
when i use the trigger i get the proper output that is
running python code
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
shot_001
Approved
but when i use the button i keep getting
request_id: 140373749917440 - #0000082
timestamp: 2020-03-11 21:27:49
user: admin
simple method: <function query at 0x7fab7ad325d0>
ticket: bc1c06debc4d82611bddb7f4e75b1495
('config/custom_script', { 'filters': [['code', 'CUSTOM_SCRIPT00016']]})
Duration: 0.016 seconds (request_id: 140373749917440 - #0000082)
Memory: 111868 KB
Increment: 0 KB
or does the button only support java script?
And one more this.. can we add a pop up , like a validation to check and show a warning if the status is not approved.
when i use the trigger i get the proper output that is
running python code
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
shot_001
Approved
but when i use the button i keep getting
request_id: 140373749917440 - #0000082
timestamp: 2020-03-11 21:27:49
user: admin
simple method: <function query at 0x7fab7ad325d0>
ticket: bc1c06debc4d82611bddb7f4e75b1495
('config/custom_script', { 'filters': [['code', 'CUSTOM_SCRIPT00016']]})
Duration: 0.016 seconds (request_id: 140373749917440 - #0000082)
Memory: 111868 KB
Increment: 0 KB
or does the button only support java script?
And one more this.. can we add a pop up , like a validation to check and show a warning if the status is not approved.