Can workflow process be accomplished with asp.net? - asp.net

We currently have workflow app built with infopath, sharepoint and bitztalk.
Basically, an empployee fills out a form, saves it and clicks "Forward to Manager"
His/her receives an email notification that a form is waiting in his/her queue to be completed.
Manager completes and forwards to next higher up.
The process continues until the final manager sign off and the process is now considered complete.
The cycle can begin again with new form.
The company hired a contractor to do this and is nowwhere to be found.
Unfortunately, we have no one inhouse with the knowledge to maintain this.
I have been asked to try and find out from you experts if it is possible to do this in asp.net.
If yes, can you please provide me with some links to get me started?
Many thanks in advance

Related

Subscribe & subscribe button on Queue in Salesforce

So the requirement is to create a Subscribe & Unsubscribe button on Queue. The issue is that the user's responsibility of working on a task assigned to a Queue varies from 1 week to a month and then it is handed over to the other user to work. The problem is that currently the users has to go on a the task queue list view to see if there is any new task assigned but this unnecessarily wastes their time. I created a solution but that gives the notification only when the user is a member of that Queue but as mentioned above this membership might change quick quickly and they think asking the admin to change the queue membership could be quite overwhelming for them and the admin as well. Unfortunately, the admin cant give the customisation access of Queues to the users. So what could be right solution for this?

Alfresco Process Services involved task notifications

I am working on the Alfresco Process Services and came across the below requirements.
I want to send an email when I involve someone in the task. The involved person should get an email notification. Right now, by default the email notification is not going to the involved person.
Also, is there any way to make the attached documents and task form read only except the task claimer? I mean, only the task claimer should be able to edit the task but all other users in the group should be able to view the task in read only mode.
Any help will be appreciated...

get number of user in online in asp.net application

I am developing a matrimonial web application in asp.net. In that I want to display number of users in online (logged in).
I am planning to maintain a "login-status table" in dB. And will maintain the table every time the user have logged in and out. But there is problem if the user have closed the browser directly without logging out.
Is there any other easy way to achieve this. Pleas provide sample code.
And I want to know how can I update the table that if the user click the browser's close button.
I recently implemented something similar. The challenge I had is what defines "online". What if the user walks away from the computer, closes the browser, network is disconnected?
In the end I went with online means visited a page in the last 15 minutes. It avoids the issues with trying to detect when they walk away from the browser, or close it.
I did consider binding to the browsers onclose event and hitting a /user/closed/browser url. I have used that before in a call center website to unlock the call. But really the 15 minute rule was "good enough".
I coded it by keeping an in memory dictionary that I persisted to db every 5 minutes. Sorry I have no code to provide.

State managemet through session in online exam website

I am working on an asp.net application. "Online Examination".
my application will uses the concept of session to maintain the state of user who is giving the exam. , since in case browser shut down, system crash i do not want my user should start from the 1st question.
Infact, i want my user should start from where he left. Now i am not able to think on this.
How to test this. Is there any easy way so that i can simply test my concept.
CASE1: USER WANT TO QUIT FROM EXAM. SO HE/SHE CAN INTENTIONALLY CLOSE THE BROWSER.
CASE2: BY MISTAKE USER CLOSE THE BROWSER, SO WHEN HE RETURN BACK HE/SHE WILL START THE EXAM FROM WHERE HE/SHE LEFT.
he just have to enter the url> enter his exam id> continue the exam.
Plssss help me in this respect. give me some idea how to apply session management.
You cannot distinguish between Case1 and Case2. Typically in these scenarios there is a button on the web page like Logout or Finish that would mark the exam as completed. Simply closing the browser would mean that the exam is still in progress.
Also note that you cannot use standard Session state management - that lasts only while the browser is open. You have to store the exam progress data in a database based on the user's ID.
Use application variables so that we can easily remove this when the user suddenly closes the browser or tab.

How to implement "other users viewing this object"

For example Zendesk has a feature called Agent Collision Notification - when you edit a ticket you get a note if somebody else its editing this ticket.
What is the Infrastructure to support a feature like this? This question seems to aim at the same thing but at a much lower level.
For the system to be completely dynamic (also notifying the first viewer) and reasonable fast, probably some comet or websocket like stuff is needed. But unlike in chat systems (a prime comet example) in a Ticket system users are constantly switching pages.
What would be the program flow and the server infrastructure for a thing like this?
If you want to allow realtime collaboration then this question that also mentions Operational Transforms will be of interest to you. And there's also a question about operational transformation libraries.
What would be the program flow and the server infrastructure for a thing like this?
I work for Pusher so I can tell you one solution using our technology.
User A opens page where there could be a 'collision'. Within the page subscribe to a channel for the page.
User A starts editing the page. Send an AJAX request to the server so there is some persisted state about the fact the page is being edited. Trigger an event on the channel stating that the user is editing the page.
User B opens the page. The page loads and can display the information from the persisted state that the page is being edited.
User A finishes editing and a request is made to the server to update the page state. Trigger an event indicating that nobody is editing the page. This event will be distributed to User B (the updated page can also be distributed via within the event or via an AJAX request when the event is received).
User B now knows he/she can edit the page. They begin editing (see step 2.) and User A is notified that User B is now editing the page.
It would also be quite cool to use presence so you could see who else was viewing the page and to allow the users to discuss changes as they happen.

Resources