cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1004
Views
4
Helpful
6
Replies

how to use the "create service item task"

theyssensf
Level 1
Level 1

Hello All,

I'm trying to create a process that queries some infrastructure stuff and then imports the outcome into a custom service item table.

Let's say that I want to query specific VM Templates and that I want to populate them under a Service Item Group which I created myself.

I know that there exists a CloudSync Discovery process, but this writes to a general infrastructure Service Item Group.

I would like to see this split up for each department of server owners.

In the "Create Service Item" task, there are some mandatory fields which don't make sense to me.

For instance, the ChannelID: this means that my process would have to be triggered from the portal and that CPO will then in response send back some service items.

This is not how I'd hoped to do this.

I would like to create a process that queries this VM Templates location every hour or so and that it updates the existing templates (if needed) and create additional records in case templates were added to that location.

Can anyone here help me in the right direction?

Is there already a tutorial video available, that explains creation of service items or has someone already posted something in here that could help me?

If already searched, but didn't find any matches to what I want to do..

Every advice, tips are more than welcome!

Greets,

Filip

1 Accepted Solution

Accepted Solutions

In any of the activities that do something with service items, in the field for Channel ID, select the Global Variable: Cloud Service Item Update Channel ID.  There's a button next to where you would enter the channel id.  Click it and it will pull up a window where you can select multiple items.  Browse to Global Variables (a top-level item) and pick the afore-mentioned variable.  That's it.

View solution in original post

6 Replies 6

Von Jones
Level 4
Level 4

The Cloud Portal adapter is documented in the online help.  If there is a gap in that documentation, please open a case with TAC.

When a call is made from CP to PO, it passes a channel ID which can be used for responses.  The Channel ID is used as a form of authentication so that it is known that the return API calls are related to an active request.  The Cloud Portal APIs we are using require this on many of the activities.

I have attached a training deck on the adapter.

Hello Von Jones,

Thank you for your reply.

I'm already aware how the agents work and what the use is of the channelID.

However, I don't want to create a proces that needs to be triggered from the portal.

I want to create a proces that runs every hour and updates service items in the portal, without needing a trigger from the portal.

This means that I wouldn't have a ChannelID to have outcome of my CPO process map his outcome to..

How can I accomplish this?

Is there a generic ChannelID I can use?

jeobrien427
Level 1
Level 1

In IAC, a known good Service Item update channel ID is stored in a Global Variable called Cloud Service Item Update Channel ID.  You can simply use that when you need to update Service ItemsIt is known good because the Service Handler process validates it, and requests a new one if that validation fails, every time it is called.

CP, unfortunately, only allows an agent to be configured for one type of inbound at a time, which is why this was done.  Agents, who do not have their Inbound Adapter setting on the General tab set to Service Item Listener Adapter, use this Global Variable.

Hello Jason,

Thanks for your reply.

Can you elaborate a bit more on this Cloud Service Item Update Channel ID?

Where can I find this variable? How can I add it to my process?

How should one use the Service Handler Process to return data back into CCP?

Right now I also do this, but using an update service request action and adding the parameters in there, to add date from my provisioning process to the form and that way into the Service Item.

Thanks for explaining this to me

Filip

In any of the activities that do something with service items, in the field for Channel ID, select the Global Variable: Cloud Service Item Update Channel ID.  There's a button next to where you would enter the channel id.  Click it and it will pull up a window where you can select multiple items.  Browse to Global Variables (a top-level item) and pick the afore-mentioned variable.  That's it.

Hello Jason,

Thanks for pointing that out to me.

How regularly does the Service Handler validate this ID?

Should I also build in a check in my sync processes to determine whether it is a good know ChannelID and to recreate a new one if it is invalid?

Thanks!

Filip

Review Cisco Networking for a $25 gift card