Questions tagged [taskservice]

20 questions
0
votes
1 answer

How to open an notepad for every 2 minutes using Windows scheduler in C# .Net?

I have the following code for opening notepad for every 1 minutes. But it is not working. Can somebody suggest me the answer? using (TaskService ts = new TaskService()) { TaskDefinition td = ts.NewTask(); td.RegistrationInfo.Description =…
User007
  • 39
  • 1
  • 1
  • 7
0
votes
1 answer

getting the task list under a particular group using JBPM 6.1

I'm a newbie to JBPM and having trouble getting the task list under a particular group using JBPM 6.1 But I can get the tasks under a user by simply using taskService.getTasksAssignedAsPotentialOwner("username", "en-UK"); But the TaskService…
nRx
  • 1
  • 1
0
votes
1 answer

JBPM execute task multiple times

In my process, i need to allow a user to execute the same task ( with different params ) multiple times. Showing TaskService class i observe that there is just complete method. The complete method set that task to complete and user cannot execute it…
Jayyrus
  • 12,961
  • 41
  • 132
  • 214
-1
votes
2 answers

How to check schedule task every three second and print second in label using c#

I want to run my schedule task after 3 second, for that i have written code in my WPF application. using (var ts = new TaskService()) { TaskDefinition td = ts.NewTask(); td.Settings.MultipleInstances = TaskInstancesPolicy.IgnoreNew; …
Barry Allen
  • 81
  • 2
  • 14
-1
votes
1 answer

SecurityException when enumerating V1 tasks and displaying tasks' info using a DataGrid

I'm using Task Scheduler Managed Wrapper from Codeplex. I am facing a weird issue. I am trying to enumerate tasks in multiple remote servers (V1 and V2) and then display the tasks in a datagrid. This issue happens when I am connecting to a V1 server…
ganeshk
  • 5,583
  • 3
  • 27
  • 31
1
2