How automate user actions in a CRM? - crm

I have a Siebel CRM, I have a set of actions that I perform daily. Is it possible to automate this? I want this is to be done from the user side. What's the easiest way to achieve this?
E.g I want the program to change the follow-up dates. So this would include changing the date and clicking done.
Screen Capture

You didn't mention which Siebel version you're running, but from IP17 onwards there's a new feature called Siebel Test Automation. Perhaps you could record a test scenario and schedule it to run in a daily basis.
https://docs.oracle.com/cd/E14004_01/books/TestGuide/TestGuide_AutoFuncTest6.html
Another option would be to have a python script to instantiate a browser session and redo your required steps, try to google about python and selenium library (it's free).

Related

Long Running task from asp.net web application (Only on user action)

I need to run a long running task like report export, report import feature which will take few minutes to hour to complete the task. I want to start the task as soon as user gives command from the asp.net mvc view.
I found various web portals, but I couldn't find the exact solution I was looking for or might be I didn't got their idea (or, limited by my experience). I don't need something that runs at certain time interval or at certain time-stamp of the day/week. I only need the background job to be executed on user request and update the task as completed in DB after it's done. So, the background job need to be always triggered by user only.
I assume the ideal solution will be something like, Background service/job is always in ready state to accept trigger from my web application in some kind of port and as soon as it receives command from web application, it (a) either send everything to job when requested for action (b) or, just poke job to start its task (based on the updated db table entry made just before the call action) . So, the user can browse through other pages in the application and can view the progress of all such tasks in one of the view (where he can even cancel or see the completed task). Note, that there can be simultaneous request for the job from different web users which should be treated as separate job (As data export differs based on user access-rights).
I want to go with the simple method, with 100% assurance of task to be done/not done as recorded in db (no crashing of service). What are the best approaches (except azure jobs) as i want to implement the service within same server and I have access to the server/virtual machine to install windows services/packages if needed.
Take look at this great article that Hanselman wrote:
How to run Background Tasks in ASP.NET
Also Hangfire is a mature library that can make development of application long running process more easy.
Hangfire is an open-source framework that helps you to create, process and manage your background jobs, i.e. operations you don't want to put in your request processing pipeline

Asynchronous Update in Web2py of a single instance

I am currently writing a program in web2py to control a dynamometer. It essentially mimics functionality provided by labview (ie. set the mode, direction, and speed/torque of dyno, query dyno speed). I want to be able to keep one instance of the dyno alive and update a print output of the value of the dyno's speed several times a seconds without having the user do anything. Is this possible and is there a way I can do this with scheduler or is there a better way I should go about doing it? Thanks in advance.
Yes, it is possible. You need to look into gluon/contrib/websocket_messaging.py. It contains an example in the docstring. You run it as a background process with Tornado and connect it to the instrument. It will push data to the page via a websocket and trigger execution of custom js.

BizTalk Scripting - Receive Location Schedule

I'm tasked with 2 things that I'm not seeing support for.
Writing a script to enable a receive location with a schedule (No
schedule currently set)
Writing a script to remove a schedule from a receive location.
I see how to enable/disable a receive location, but I don't see how to manipulate the schedule via script.
Check the below article. This may help to create script.
http://msdn.microsoft.com/en-us/library/aa559496.aspx
Create two bindings files, one representing the receive port with schedule and one without. Then use BTSTask importbindings command to import whichever bindings file you want.
There is no support for scripting the scheduling of a receive location that I'm aware of.
You can achieve this in many other ways though. The simplest being to script the delivery
of the files to the receive location using shell script/etc.
Before going down your own scripting route, I'll consider 2 options
Check the schedule/service window capability in Receive Location and see if it solves your problems, else
There is a community Scheduled task adapter, which is suitable for such activities.
http://biztalkscheduledtask.codeplex.com/

How can i execute a function at an exact hour every day, in ASP.net?

I have a function that needs to be executed every day at an exact hour. How can i do that in asp.net? Do i need to use a webService or do i need to install something on the server or something else? How can this be made?
You can use a Scheduled Task to execute a C# console app.
http://support.microsoft.com/kb/308569
There are a variety of options, you could use:
Windows Workflow Foundation that executes at a certain time (probably overkill for you)
SQL Agent (probably best suited for SQL esc jobs)
Combine Web and Windows Services to Run Your ASP.NET Code at Scheduled Intervals
Scheduled Tasks in ASP.NET Web Applications using Timers
ASPNET is a Request-driven model. It gets a request, for a document, a resource, a page... and then it runs some logic to generate that document, logic or page and transmit it to the requester. It's not set up to "run" by itself.
So you have a couple options:
The way to get something to run at a particular time on Windows is via Task Scheduler. It's available on any recent Windows. You supply the EXE. In your case it might make sense to write a console EXE.
Use schtasks.exe (command line tool) or the control-panel applet to to set up the task, the login, the time and repeats.
The EXE could be an ASPNET client that makes a request to an ASPNET-managed resource. Or it could just directly do the thing you want - maybe it's reading a database and creating a report.

How We Can Fire Query On Specific Time Like Triegger

How It Possible Unpublished Record On Base Specific Time Like 22-03-2011 11:01 Pm All Record
Are Unpublished It Is Possible From Sql Server Side.
Please Give Suggestion if it possible from
This type of task is better served with a Windows Service or Scheduled Task.
If you really want to keep your code in your ASP.NET application, place it in a page or handler and then create a scheduled task to call that URL, using, for example, cURL
Another option would be to look at something like Quartz.NET

Resources