Project was developed to facilitate the creation/editing/updating of tickets generated via API REST Service Now. If you are here, you must know that there are several functionalities that ServiceNow has, the idea is to integrate all tool products in this project.
Requirements:
ExServicenow.get_query_change_request([])
ExServicenow.get_query_change_request([{"sysparm_limit", 1}])
ExServicenow.get_query_change_request([{"sysparm_query", "number=CHG0000000"}])
ExServicenow.get_query_change_request([{"sysparm_query", "number=CHG0000000"}, {"sysparm_display_value", "all"}])
ExServicenow.post_query_change_request(%{description: "Test_1", short_description: ""})
ExServicenow.put_query_change_request("CHG0000000", %{description: "Update_Test_1"})
ExServicenow.get_query_sc_req_item([])
ExServicenow.get_query_sc_req_item([{"sysparm_limit", 5}])
ExServicenow.get_query_sc_req_item([{"sysparm_query", "number=RITM0000000"}])
ExServicenow.post_query_sc_req_item(%{description: "Test_1"})
ExServicenow.put_query_sc_req_item("RITM0000000", %{description: "Test_1"})
ExServicenow.get_query_incident([])
ExServicenow.get_query_incident([{"sysparm_limit", 5}])
ExServicenow.get_query_incident([{"sysparm_query", "number=INC0012992"}])
ExServicenow.put_query_incident("INC0000000", %{description: "Test_1"})
docker pull dockergpsj/ex_servicenow:latest
docker run -e "URL_SERVICENOW=https://myorganization.service-now.com" -e "USERNAME_SERVICENOW=email" -e "PASSWORD_SERVICENOW=password" -e "FUNCTION=ExServicenow.get_query_sc_req_item([{\"sysparm_query\", \"number=RITM0000000\"}])" dockergpsj/ex_servicenow:latest
Notice that there is a variable named FUNCTION. In this field you put the name of the function you want.
On Linux, single or double quotes are passed verbatim into the value of the environment variable (i.e. including quotes)
On Windows, single or double quotes are removed from the value of the environment variable (i.e. no quotes in the variable)
Content type
Image
Digest
sha256:176f6d100…
Size
56.4 MB
Last updated
about 4 years ago
docker pull dockergpsj/ex_servicenow