C# - Queueing An Item To The Workflow Queue ?

Sep 24, 2010

you could have a workflow which is used for the submission and tracking of tickets, with the scenario that when the support desk goes home all of the active workflows generate an e-mail to the person who submitted the ticket saying that their ticket won't be looked at today.What is the best approach to do this?Is it a custom activity or some other method of enumerating all of the active workflows and firing an event/queueing an item to the workflow queue Clearly from the workflow perspective it would be nice to have an activity within it which is fired when,in the case of the example above the office closes.

View 2 Replies


Similar Messages:

Enable Workflow State 'write' On Selected Item?

Feb 18, 2011

Some items don't have write access right due to workflow state write not being granted.When I click write access right in Access Viewer

Access Viewer informs me that selected user don't have access right due to workflowstate write acess right:

Unfortunately I'm not able to set it 'manualy' through security editor:

View 1 Replies

Have A Statemachine Workflow, This Workflow Works Fine Until A New Requirement Is Came?

Aug 3, 2010

I know this is not the right place to post this question but I dont know where to go. My question is this.I have a statemachine workflow, this workflow works fine until a new requirement is came. The new requirement is to add a new state and event driven but this event driven is fired if the document library item is updated where the workfow is embedded. Is this posible? if so what event activity should I place?

View 7 Replies

Workflow Foundation 4 - How To Create A Web Based Representation Of The Workflow

Aug 12, 2010

The client wants to see a graphical representation of the workflow. In addition (let's say it is a workflow for processing orders), the client wants to see at what point in the workflow any given order is, indicated on the graphical workflow representation by a highlighted node or some visual queue.

All of this must be available via a web interface.

Was hoping somebody had some bright ideas for how to achieve this without writing extensive custom controls.

Does Workflow Foundation 4 offer anything itself that would assist toward this end?

View 1 Replies

C# - Is Workflow Right For Dynamic Workflow Creation In Web Based Application

Jun 22, 2010

I am new to workflow and just know some of its features. I want to do a project in WF. It will be a web based intranet application where user will be able to define workflow dynamically through web interface.Duration for completing a task can be many days.With these requirments I am not sure will use of WF helpful in quick development or it will increase work ?Please advice me should I try to learn WF for this project or should do it with C# and asp.net

View 1 Replies

Wcf Will Then Check For New Queue And Using Teh Queue To Send Out A Sms?

Dec 21, 2010

Currently i'm developing an apllication that sends sms via the asp.net. I'm using msmq for the queuing incase of multiple sending of sms. The wcf will then check for new queue and using teh queue to send out a sms. I've a few question.How do i create a new queue for the msmq via asp.net

View 1 Replies

How To Use Workflow Engine?

Jan 27, 2010

I know workfow engine is, but actually in our programming life, how can we get use of the workflow engine ?
How will workflow engine

View 3 Replies

C# - Store A Queue In Viewstate?

Apr 29, 2010

EDIT: ViewState does not change when browser is refreshed, so even if you write to viewstate it will not save the data. i am trying to store a Queue in a viewstate (to track postbacks and refreshes to stop a form from resubmitting). The Queue is only saving with a count of 1 (the first item that is added to it) no matter how many items i add.

// New Queue of strings
private Queue<string> sTemp;
private Queue<string> p_tempQue
{
set
{
ViewState["sTemp"] = value;
}
get
{
return (Queue<string>)ViewState["sTemp"];
}
}
//BasePage constructor
public BasePage()
{
//create a Queue of string
//sTemp = new Queue<string>();
this.Load += new EventHandler(this.Page_Load);
this.Init += new EventHandler(this.Page_Init);
}
//In the 'page_Init' event we have created a simple hidden field by name 'hdnGuid' which is attached to the page on the first hit itself.
protected void Page_Init(object sender, EventArgs e)
{
//initializing the hidden field
//create a hidden field with a ID
HiddenField hdnGuid = new HiddenField();
hdnGuid.ID = "hdnGuid";
//if it is the first time the page is loaded, create a new guid and assign it as the hidden field value
if (!Page.IsPostBack)
hdnGuid.Value = Guid.NewGuid().ToString();
//add the hidden field to the page
Page.Form.Controls.Add(hdnGuid);
}
//In the 'page_Load' event we check if the hidden field value is same as the old value. In case the value is not same that means it's a 'postback'
//and if the value is same then its 'refresh'. As per situation we set the 'httpContent.Items["Refresh"]' value.
protected void Page_Load(object sender, EventArgs e)
{
if(p_tempQue != null)
sTemp = p_tempQue;
else
sTemp = new Queue<string>();
//The hdnGuid will be set the first time page is loaded, else the hdnGuid
//will be set after each time the form is submitted using javascript.
//assign the hidden field currently on the page for manipulation
HiddenField h1 = (HiddenField)(Page.Form.FindControl("hdnGuid"));
//create an instance of the GuidClass
GuidClass currentGuid = new GuidClass();
//set the GuidClass Guid property to the value of the hidden field
currentGuid.Guid = h1.Value;
//check to see if the Queue of strings contains the string which is the current Guid property of the GuidClass
//if the are equal, then the page was refreshed
if (sTemp.Contains<string>(currentGuid.Guid))
{
//adds item as key/value pair to share data between an System.Web.IHttpModule interface and an System.Web.IHttpHandler interface during an HTTP request.
System.Web.HttpContext.Current.Items.Add("IsRefresh", true);
}
//if they are not requal, the page is not refreshed
else
{
//if the current Guid property in the GuidClass is not null or not an empty string
//add the new Guid to the Queue
if (!(currentGuid.Guid.Equals(null) || currentGuid.Guid.Equals("")))
sTemp.Enqueue(currentGuid.Guid);
System.Web.HttpContext.Current.Items.Add("IsRefresh", false);
}
p_tempQue = sTemp;
}

View 3 Replies

Customer Workflow For CRM Dynamics

Jul 15, 2010

I need to create a customer workflow for CRM dynamics , I have visual studio 2010 Express edition install in my machine. I most of the examples in web says Go to Visual studio 2005 or more, then slect Workflow Project type in new project dialog box. but in express edition i cannot see workflow as a project type, is this because of express edition or do i need to run any thing to get this project types in to VS express.

View 4 Replies

C# - Best Practices To Add Some Data Into Queue?

Nov 24, 2010

I have a web application where users can upload the photo. I do have a windows service running which takes the uploaded photo and crops it to different sizes. This runs in a specified interval. Photo will be visible to the user once after it's cropped. So once user uploads the photo and photo cropper has not yet run, they wont be able to see the photo. Due to this behaviour user thinks that there was some error uploading the photo and they will upload it again and again.

where the photocropper runs immediately when the user uploads the photos which is queued.

I am using asp.net & C#.

View 3 Replies

.net - Best Practices For Web Application Workflow?

Jul 18, 2010

All too often I find myself being required to design pages that flow through a series of steps. 1) Select from a set of options. Submit.2) Populate a page with results. Make changes. Submit.3) Do something based on the previous results. Submit.4) Confirm previous actions. Submit.5) Goto 1.An ecommerce site with shopping cart would be a textbook example of this.Now, there are any number of ways to deal with this. My question is, what is the recommended way to do it in asp.net? In PHP or ISAPI I would just use standard html controls, get the post data and do stuff with it, each on a different page

View 3 Replies

C# - Control For Presenting Workflow?

Sep 13, 2010

I write an application in asp.net and I have something like state machine which can be modified by user (nodes, paths and directions of paths).

Is there any nice controll I can use to display this data ?

Just display, there is no need to do anything with it

View 2 Replies

Way To Queue Data And Then Process Separately?

Feb 3, 2011

Quote:

Originally Posted by wwb_99 grab the data sometime in the request, push to queue, process queue separately mainly because you don't want every request waiting on a CRM system that could be slow or down. This is a quote from wwb is another thread. What is the best to way to queue data and then process separately? Would you do it in the page_render event with a custom control? Would you use java script? Is there a post render event besides page_unload, or could you use page_unload?

View 3 Replies

Architecture :: Page Flow With Workflow 4.0?

Nov 10, 2010

Is there any good example to implement Asp.Net page flow using workflow 4.0 ?

View 3 Replies

C# - Remove Elements From One Queue That Are Present In Another

Nov 22, 2010

Using C# I have

Queue N: 3, 4 9, 11
Queue A: 1, 2, 3, 4, 8, 9, 11, 12, 13

I want to remove all elements from Queue A that are present in Queue N And end up with Queue R: 1, 2, 8, 12, 13. How do I do this in C#. Trying to work with someones API and they offer a way to get the two queues and I need to filter based on one queue returned.

Updated Code Example: I am using a custom data type ModuleDetails

Queue<ModuleDetails> defaultQueue = apiCallDefault();
Queue<ModuleDetails> modQueue = apiCallAllModules();

View 3 Replies

.net Mvc - Reusing Pages/controllers In Workflow

May 3, 2010

1) the user signs up for the first time. They see 3 different screens, their basic user information, their credit card, and some additional profile information. They complete these 3 steps in a wizard like fashion, where each time they hit "submit" they leave the current screen and move on to the next.2) the user already is signed up. He has links in the navigation to these 3 seperate pages. He can update them in any order. When he hits save, he doesn't leave the page he's on, it just shows something at the top that says "Credit Card Info saved..." or whatever. Possibly using ajax or maybe a full page refresh.I would like to reuse the code not only the view but also in the controller for these 3 screens between the two workflows, but without a ton of if...then logic to determine where to go next depending on whether its a first signup in the wizard or updating individual parts of a profile.

[code]...

View 2 Replies

IIS 7 To Process The Request Queue In Parallel?

Apr 20, 2010

Currently we are developing an ASMX, ASP 2.0, IIS 7 web service that does some calculations (and return a dynamically generated document) and will take approx. 60 seconds to run.Since whe have a big machine with multiple cores and lots of RAM, I expected that IIS tries its best to route the requests that arrive in its requests queue to all available threads of the app pool's thread pool.But we experience quiet the opposite:When we issue requests to the ASMX web service URL from multiple different clients, the IIS seems to serially process these requests. I.e. request 1 arrives, is being processed, then request 2 is being processed, then request 3, etc

View 2 Replies

Visually Tracking / Monitoring Workflow(WF) 4.0?

Feb 18, 2011

I am planning to build a custom web application in ASP.NET 4.0 using WF 4.0, the user wants ability to modify workflows himself, for this we will be using a WPF client which the user can use and we will do workflow re-hosting, lots of blogs and guidance is available for this. But I am not sure how to the meet one requirement where the user wants to see/track a visual representation (diagram/image) of the workflow, depicting what stages are over, what is the current stage etc. This needs to be done on a web page.Possibly the same workflow with icons depicting status. This is something similar to the visual available for Visio workflows in SharePoint 2010. Even AgilePoint workflows provide such a view.

View 2 Replies

JQuery :: Clear The Queue And Re-add From That Point?

Aug 1, 2010

Note: I'm avoid flash and silverlight completely. I'm trying to imitate a flash presentation with jQuery.

I have 4 sequences, like the flash used on msn.com's site to show 4 different scenes.

I want these on a timer, but I also wnt to show a small paging control to click to a previous screen.

Would I create a queue for each scene? And when all of the queues finish do I re-create the queues or is there a method to reset?

And what if I want to go to the 2nd scene from the 4th scene by click the pager? Just clear the queue and re-add from that point?

View 4 Replies

MVC :: HTML / CSS Customer Order Workflow Site

Mar 4, 2010

I have see many websites that they show nice tab headings with STEPS: 1. Sign-in, 2- Billing info, 3 - Payment, 4 - Place order While customer ordering items, he/she goes through these steps and gets an experience of using a wizard based approach. one Also this gives good feedback of what are steps involved in the order processing Any details on how to do this wizard kind of functionality in ASP.NET MVC? Is there anything in JQuery UI that might be helpful? I know that I can simply use some text tabs and use different background color for selected step: But wondering if there is more standard or better ways to do this with: ASP.NET MVC, JQuery UI etc.

View 2 Replies

C# - Put Email Messages In A Queue When SMTP Server Is Down?

Sep 20, 2010

I have a big problem with my SMTP server for sending emails. It's down often. At this point I am using this code:

MailMessage mailMsg = new MailMessage();
mailMsg.From = new MailAddress("fromMail@example.com");
mailMsg.To.Add("toMail@example.com");
mailMsg.Subject = "...";
mailMsg.IsBodyHtml = true;
mailMsg.BodyEncoding = Encoding.UTF8;
mailMsg.Body = "Mail";
mailMsg.Priority = MailPriority.High;
SmtpClient client = new SmtpClient();
client.Credentials = new NetworkCredential("account@gmail.com", "password");
client.Port = 456;
client.Host = "smtp.gmail.com";
client.EnableSsl = true;
client.Send(mailMsg);

But, when my SMTP server is down I want to put all the emails in a queue and when it recovers I want to send them one a time. Is there any way how to do this programatically in C#?

View 1 Replies

Use A Queue To Send Email To An Smtp Server?

Dec 9, 2010

module thats available for asp.net that uses a queue to send email to an smtp server? the queue being the operative word here.. we need a proper fallback mechanism for storing any messages that can't be sent so that the send can be re-attempted later

View 1 Replies

Web Forms :: How To Access A Queue In Class Page

Jul 22, 2010

I am trying to access an item default.aspx.vb which is in the class page in the app_code folder. Why am I unable to access this through intellisense?

If
Not m_qKnown.Contains(HRefs(i))
Then

here is the class page. In my vs, m_qknown is underlined in blue. How come I can't access this queue in this code behind page for the default.aspx? In my intellisense, if I try to prefix it with the name of the page (Charlotte.vb) Charlotte.Webcrawler. after this dot there is no m_qKnown. There are some queuing event handlers and that's about it.

I'm trying to avoid adding more items to a queue if the item is already in the known queue. I'm happy to email this website application to anyone who would like to test it.

[Code]....

View 2 Replies

Windows Workflow / Unable To Understand How To Implement

Oct 28, 2010

I understand the concepts of windows workflow...But unable to understand how to implement it...Can anyone tell me some good sites which explains Workflow with coding???

View 1 Replies

Web Forms :: Plain Text Into MSMQ Queue

Apr 12, 2010

To meet the needs of a colleague, I must get plian text into a MSMQ message queue. Trouble is, Sytem.Messaging results in a body wich defaults to xml content. I had thoght that this would get round the problem - but it doesn't:

[Code]....

The body content looks rather strange actually - it reads:

54 65 73 74 20 54 65 78 Test Tex

74 20 4D 65 73 73 61 67 t Messag

65 e

Any thoughts on how to get rid of all those numbers and just have a plain text body?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved