clampj Posted February 16, 2018 Share Posted February 16, 2018 Hi Is it possible to integrate with our on-premise active directory? I'd like to be able to configure catalogue items on self service that would automate amending AD security group membership. Suspect powershell would be required but not sure how to go about it (the powershell bits easy but how do we use it with Service Manager?). Can anyone provide any pointers/further reading? I've looked on the wiki and read the integration section but I'm none the wiser for it. Thanks J Link to comment Share on other sites More sharing options...
TrevorKillick Posted February 16, 2018 Share Posted February 16, 2018 @clampj Something to look into is Microsoft System Centre Orchestrator https://wiki.hornbill.com/index.php/Microsoft_Orchestrator This allows you within a business process to trigger a process internally on your network which can include power shell scripts. Kind Regards Trevor Killick Link to comment Share on other sites More sharing options...
clampj Posted February 21, 2018 Author Share Posted February 21, 2018 Thanks Trevor - Sounds expensive though! I've decided on a different approach that will get round the need to have Orchestrator however i'm not sure if it can be done in Service Manager. Essentially, I have a catalogue item on self service for requesting remote access. The process sends an email (containing "Add" in the subject and customers username in the main email body) to a mailbox monitored by a powershell script. If the subject contains add then the powershell script adds them into the required security group. This part is easy and I have it working. What I would also like to happen is, and email back to Service Manager so that SM can in turn email the customer to advise access is granted but then place the call on hold for 5 days. Call automatically comes off hold after 5 days which triggers another email to the monitored mailbox, this time with a subject of "Remove" which causes the powershell script to remove them from the group before email back to SM to confirm which would trigger and email to cusotmer advising access removed before the call is closed. As I said, I've got the first part working where email is sent, read and then user added to the group. I'm struggling to understand how to acheive the rest so thought I'd ask on here before spending any more time on something that might not be acheivable. I guess what I need to know is this: 1. I cant see a way to automatically take a call off hold after 5 days in the process engine which would be needed in order to trigger the removal email. Is this even possible? If not are there any plans to introduce such functionality? 2. Do you see any pitfalls with this approach? I know its a bit clunky but it will save us a lot of time and more importantly a lot of user pain! Link to comment Share on other sites More sharing options...
Dan Munns Posted February 21, 2018 Share Posted February 21, 2018 You could put a human task in that expires after 5 days, once it expires it should just move on to the next node in the BPM. Link to comment Share on other sites More sharing options...
Steve Giller Posted February 21, 2018 Share Posted February 21, 2018 Or you could close the call with an email saying "This access will automatically be revoked in 5 days" Then, in your "add" PowerShell script write the username and the date to a file and have a scheduled task that runs the "remove" script each morning and removes anyone from more than 5 days ago (optionally deleting that line from the file so it doesn't eventually fill the drive) Link to comment Share on other sites More sharing options...
clampj Posted February 27, 2018 Author Share Posted February 27, 2018 Thanks both. I'm going to go with Dans suggestion in order to keep the powershell as light as possible and thats the bit of info I was hoping for re the process manager. The process works - once the email is sent the process suspends for a set period of time before un-suspending and sending another email requesting access is removed. I'm now looking at the handling of the email generated by the powershell script but i'm not sure how to acheive what I want as I've not setup routing rules before so again, any help greatly appreciated. What I'd like to do is this, when attempting to provide access, the powershell will send one of 3 emails back to service manager - subject and content can be set however I like - the plan is to contain the call reference in the sbject then the outcome in the email body. I'd like the following action for each of the 3 different emails: Already has access - email the customer back advising this and close the call License count exeeded - email the customer advising this and to contact service desk Access granted - email the customer advising this and place the call on hold for set period of time (I already have the suspend part working as per the above) Given the status is in the body of the email coming back to Service Manager, the customer would see that status as the update email generated by SM will contain it however, how do I get the call to close? Is this something that needs to be handled in the process manager? I'm guessing so but not sure how its done. Lastly, I've got a problem with the progressive capture I setup to trigger this process. I dont require any input from the user, I just need them to click the catalogue item. As a result I setup the progressive capture as follows: Start -> Customer Search -> End This doesnt work though - I just get the hornbill logo spinning continuously. The only way I've been able to get it to work is to setup as follows: Start -> Customer Search -> Request Details -> End I set the "Request Details" node so it isnt mandatory so the user can click finish without typing anything in but i'd like to remove this step if possible. Any suggestions? Link to comment Share on other sites More sharing options...
Dan Munns Posted February 27, 2018 Share Posted February 27, 2018 For the last problem you could remove the default 'Customer Search' form and create a custom form with nothing but a label which read something like 'Submitting this form will pass your request to the IT Service Desk' If you set it up as per the screenshot this works (tested today). As for the other issues I think the only way around it would be a human task set up with the 3 possible outcomes and once an analyst clicks the outcome the BPM progresses along one of the three routes. The analyst would just have to note the email subject and click the corresponding outcome in the task. Once the human task has been completed the call closure could be different for each outcome type. Link to comment Share on other sites More sharing options...
clampj Posted February 27, 2018 Author Share Posted February 27, 2018 Thanks again Dan. I'll check that out for the progressive capture. Is there no way to automatically close a ticket from an email? I dont want any human interaction. Even if it means we have 2 different routing rules, one for closing the ticket and one for continuing with the suspention of the ticket - I can live with that! Link to comment Share on other sites More sharing options...
Dan Munns Posted February 27, 2018 Share Posted February 27, 2018 I don't think that is possible at the moment (although someone from Hornbill may come along and prove me wrong) Link to comment Share on other sites More sharing options...
clampj Posted February 27, 2018 Author Share Posted February 27, 2018 Ok I've now tested the progressive capture suggestion but i'm getting the same results - spinning hornbill logo and nothing else Any other suggestions? If its working for you then its possibly a bug in our instance? Link to comment Share on other sites More sharing options...
Dan Munns Posted February 27, 2018 Share Posted February 27, 2018 Is your PC just the Custom Form? For some reason if you have the Customer Search (or any other default form) it craps out. I have attached the one I tested with (works as of now) test-pc.pcf.txt Link to comment Share on other sites More sharing options...
Victor Posted February 27, 2018 Share Posted February 27, 2018 7 hours ago, clampj said: Lastly, I've got a problem with the progressive capture I setup to trigger this process. I dont require any input from the user, I just need them to click the catalogue item. As a result I setup the progressive capture as follows: Start -> Customer Search -> End This doesnt work though - I just get the hornbill logo spinning continuously. The only way I've been able to get it to work is to setup as follows: Start -> Customer Search -> Request Details -> End I set the "Request Details" node so it isnt mandatory so the user can click finish without typing anything in but i'd like to remove this step if possible @clampj Hmm... so you saying that if the PCF only has "Start - Customer Search - End" then when the user clicks on the catalog item on the portal and the PCF runs the user gets the spinning logo of death? If that's the case this seems like some sort of defect that our dev team might want to look at... Link to comment Share on other sites More sharing options...
clampj Posted February 28, 2018 Author Share Posted February 28, 2018 Hi Victor Yes - the spinning logo of death. Hang fire for now as that was only for testing - I actually need the progressive capture to record something in the call summery and details so if we happen across it at any point in the future we know what it was for - as it is, the call just gets logged with a customer. I'll let you know if I need further assistance on the PC. Thanks J Link to comment Share on other sites More sharing options...
clampj Posted March 1, 2018 Author Share Posted March 1, 2018 Hi @Victor - Would you be able to take a look at our progressive capture? At the moment Dans example/suggestion is working but it adds an unessessary step in the process which I'd like to remove. I want the user to just have to click the catalogue item then the call be logged without any further interaction so: Start->Customer Search->End But this produces the endless spinning logo. I've called it remote_access_test Thanks J Link to comment Share on other sites More sharing options...
Victor Posted March 1, 2018 Share Posted March 1, 2018 @clampj you told me the "hang fire for now" when I knew I should have kept "firing" ... I'll have a look Link to comment Share on other sites More sharing options...
clampj Posted March 1, 2018 Author Share Posted March 1, 2018 yes I did but now I need what I orignally thought I would need *facepalm* Link to comment Share on other sites More sharing options...
Victor Posted March 1, 2018 Share Posted March 1, 2018 @clampj I passed this to our dev teams so they can investigate the issue... Link to comment Share on other sites More sharing options...
clampj Posted March 1, 2018 Author Share Posted March 1, 2018 Thanks Link to comment Share on other sites More sharing options...
clampj Posted March 6, 2018 Author Share Posted March 6, 2018 Hi @Victor Any news from the dev team about the progressive capture with no forms causing HROD? Thanks J Link to comment Share on other sites More sharing options...
Victor Posted March 7, 2018 Share Posted March 7, 2018 @clampj other than they still working on it, no... there are some changes required in both Collaboration and Service Manager code so it's a joined dev effort ... (PCF is part of Collaboration Code, portals are Service Manager)... Link to comment Share on other sites More sharing options...
clampj Posted March 9, 2018 Author Share Posted March 9, 2018 OK thanks for the update Link to comment Share on other sites More sharing options...
Victor Posted March 13, 2018 Share Posted March 13, 2018 @clampj looks like we fixed HROD in PCFs with no forms... Link to comment Share on other sites More sharing options...
clampj Posted March 13, 2018 Author Share Posted March 13, 2018 Awesome-thanks! Will the upgrade occur automatically I do I need to perform the upgrade (or should I say click the button!) as with service manager? I dont see it listed in the "Add More Apps" screen so not sure how to do it. Thanks J Link to comment Share on other sites More sharing options...
Victor Posted March 13, 2018 Share Posted March 13, 2018 @clampj that's a Collaboration update, meaning a))) is not an application update and b)) is all automated ... so, no action required Link to comment Share on other sites More sharing options...
clampj Posted March 13, 2018 Author Share Posted March 13, 2018 Even better. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now