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

P

phamilton7733

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.....
 
P

Peter Hamilton

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).


Maui Williams said:
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:p[email protected]]
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.....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top