Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / October 2006

Tip: Looking for answers? Try searching our database.

Office 2007/Infopath - Access the events/properties of Workflows?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
phamilton7733 - 25 Oct 2006 14:50 GMT
Hi,

This is a rather difficult question to write, but I will try nonetheless.  
We have been working with the Office 2007 Beta 2 Workflows.  We are using
Infopath 2007 forms and starting workflows against the forms to accomplish
different tasks.  The workflows we are using are the built in workflows of
"Request Feedback" and "Approval".

Is there any way that the Infopath form that is in a Sharepoint document
library can access events/properties of the workflows that are associated
with a given document?  As a Workflow property example, if a document has
completed an "Approved" workflow, I would like to prohibit the document from
edits.   As a Workflow Event example, I would like to trap when a workflow
has completed so I can augment a task with some further actions.  For
example, our solution has two workflows for a given document, #1 is an
Approval workflow for managers only, and a 2nd workflow is for "Final
Approval".  I would like to be able to automatically start the "Final
Approval" workflow when the "Manager Approval" workflow has completed.

So, any help with accessing Properties/Events of Workflows from within
Infopath 2007 (or Sharepoint Server) would be greatly appreciated.

Thanks in advance.....
Maui Williams - 26 Oct 2006 17:53 GMT
If you create the workflows in visual studio you will have access to all
of the workflow and task properties for the workflow.

Out of curiosity, how come you have two workflows?  I have written a
workflow in visual studio that has two tasks, one task for manager
approval and one task for final approval.

Maui Williams | Solution Developer II, MCSD.Net
Avanade | West Region
2211 Elliott Avenue, Suite 200 Seattle, WA 98121

-----Original Message-----
From: phamilton7733 [mailto:phamilton7733@discussions.microsoft.com]
Posted At: Wednesday, October 25, 2006 6:50 AM
Posted To: microsoft.public.infopath
Conversation: Office 2007/Infopath - Access the events/properties of
Workflows?
Subject: Office 2007/Infopath - Access the events/properties of
Workflows?

Hi,

This is a rather difficult question to write, but I will try
nonetheless.  
We have been working with the Office 2007 Beta 2 Workflows.  We are
using
Infopath 2007 forms and starting workflows against the forms to
accomplish
different tasks.  The workflows we are using are the built in workflows
of
"Request Feedback" and "Approval".

Is there any way that the Infopath form that is in a Sharepoint document

library can access events/properties of the workflows that are
associated
with a given document?  As a Workflow property example, if a document
has
completed an "Approved" workflow, I would like to prohibit the document
from
edits.   As a Workflow Event example, I would like to trap when a
workflow
has completed so I can augment a task with some further actions.  For
example, our solution has two workflows for a given document, #1 is an
Approval workflow for managers only, and a 2nd workflow is for "Final
Approval".  I would like to be able to automatically start the "Final
Approval" workflow when the "Manager Approval" workflow has completed.

So, any help with accessing Properties/Events of Workflows from within
Infopath 2007 (or Sharepoint Server) would be greatly appreciated.

Thanks in advance.....
Peter Hamilton - 26 Oct 2006 18:13 GMT
Thanks for the input.

I am aware that we can create workflows in VS and/or Sharepoint Editor, but
I don't want to have to author a custom workflow if the existing workflows
get us 95% there.  In our case, the canned workflows for Approvals works, but
I just want to be able to trap events/properties so I can chain them together
with a bit of VSTA programming, as per my original post.   I want to avoid
creating a workflow as it may be unnecessarily complex for what is required.

The reason why we have two approvals as because we want to be able to
display whether the 1st level of approval (Manager Approval) has been
completed in the table view of documents separately from the 2nd level of
approval (Final Approval).

> If you create the workflows in visual studio you will have access to all
> of the workflow and task properties for the workflow.
[quoted text clipped - 48 lines]
>
> Thanks in advance.....
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.