Task Form Desigining

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all!

I want to create a Form (say leave application form) and post it to the Task
Folder of the recipients. This is kind of workflow I want to manage.
Following is the criteria:
• The form is created in having Task as the base form
• Applicant fills the forms
• Selects the recipients using To button and/or fills out the address of the
immediate boss
• Sends the mail
• Now boss receives the mail as his Tasks (or may be in email)
• After double clicking the message, the boss views the Form and fills out
some required fields
• Then sends it to the HR department (or some person in the hierarchy)
• HR department approves the Form
• The Task in the Task List of all persons is marked as Completed

I would appreciate if someone can help me in reaching to the solution. I
have gone through many sites and concluded the following:
• Visual Studio .Net COM Add in
o create a COM Add in, using VS2003.Net and provide users with the
functionality of receiving emails
o sending the forms as attachment to the mail
o updating the tasks manually using code
• Outlook VBA
o Creating the Forms in Outlook
o Manipulating the objects (text boxes, buttons etc) using VBA
 The problem is controls are not finely controlled using VBA in this case





Regards!
Muneeb R. Baig

still learning the basics
 
Outlook VBA would not be involved at all.

I would probably handle this with:

a) a Windows form in the add-in to capture the initial data, create the task and kick off the work flow (might also be done with a custom task form, but task forms can be quirky -- you can't override some of the default behaviors)

b) one or more custom message forms to transfer the task information (including the workflow state of the current item) from originator to boss to HR and pick up other information along the way

c) code in the add-in to process the information in the custom message forms at each stage in the process

d) Code in the add-in to create the toolbar button that allows the user to launch the form described in (a)

Let us know if you have specific questions related to any of the above.
 
Thanx for the prompt reply. Following please find my understanding regarding
ur suggestions, please correct me if I am wrong and explain the process…
Outlook VBA would not be involved at all.
[I have to forget the Task Form things and code using VS.Net2003]
I would probably handle this with:
a) a Windows form in the add-in to capture the initial data, create the task
and kick off the work flow (might also be done with a custom task form, but
task forms can be quirky -- you can't override some of the default behaviors)
[a separate add in to handle the task form scenario and providing users with
the facility to fill in the form and email it to others. Others may also edit
the forms (at least some of the fields) and reply/forward to other person in
the hierarchy]
b) one or more custom message forms to transfer the task information
(including the workflow state of the current item) from originator to boss
to HR and pick up other information along the way
[please explain it I could not understand how to do this. But I think this
might work in my process]

c) code in the add-in to process the information in the custom message forms
at each stage in the process
d) Code in the add-in to create the toolbar button that allows the user to
launch the form described in (a)
[yup I have created this using MSDN, I am sure that I can do this again]

Let us know if you have specific questions related to any of the above.
[Thanks for your concern]

--
Regards!
Muneeb R. Baig

still learning the basics
 
Adding to my previous post i would like to know if i can integrate/call
InfoPath Forms, from within Outlook XP/2003 and use these forms instead of
Outlook Task From (customized)? if there is any way and is better then the
way we are discussining then please lemme know and explain it.
Thanx again
--
Regards!
Muneeb R. Baig

still learning the basics


Muneeb said:
Thanx for the prompt reply. Following please find my understanding regarding
ur suggestions, please correct me if I am wrong and explain the process…
Outlook VBA would not be involved at all.
[I have to forget the Task Form things and code using VS.Net2003]
I would probably handle this with:
a) a Windows form in the add-in to capture the initial data, create the task
and kick off the work flow (might also be done with a custom task form, but
task forms can be quirky -- you can't override some of the default behaviors)
[a separate add in to handle the task form scenario and providing users with
the facility to fill in the form and email it to others. Others may also edit
the forms (at least some of the fields) and reply/forward to other person in
the hierarchy]
b) one or more custom message forms to transfer the task information
(including the workflow state of the current item) from originator to boss
to HR and pick up other information along the way
[please explain it I could not understand how to do this. But I think this
might work in my process]

c) code in the add-in to process the information in the custom message forms
at each stage in the process
d) Code in the add-in to create the toolbar button that allows the user to
launch the form described in (a)
[yup I have created this using MSDN, I am sure that I can do this again]

Let us know if you have specific questions related to any of the above.
[Thanks for your concern]

--
Regards!
Muneeb R. Baig

still learning the basics


Sue Mosher said:
Outlook VBA would not be involved at all.

I would probably handle this with:

a) a Windows form in the add-in to capture the initial data, create the task and kick off the work flow (might also be done with a custom task form, but task forms can be quirky -- you can't override some of the default behaviors)

b) one or more custom message forms to transfer the task information (including the workflow state of the current item) from originator to boss to HR and pick up other information along the way

c) code in the add-in to process the information in the custom message forms at each stage in the process

d) Code in the add-in to create the toolbar button that allows the user to launch the form described in (a)

Let us know if you have specific questions related to any of the above.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Pseudocode:

1. User opens message from Inbox (triggers NewInspector event)

2. Check MessageClass property.

3. If it's the class of your published custom "task transmittal" form, continue. Otherwise, ignore.

4. Check the property on the form that carries information about the item's state, in other words, what stage it is at in the current workflow. (You have to decide what state information to store and in what property.)

5. Perform the appropriate processing of the item, depending on its state, updating the local user's copy of the task as required.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Muneeb said:
Thanx for the prompt reply. Following please find my understanding regarding
ur suggestions, please correct me if I am wrong and explain the process…
Outlook VBA would not be involved at all.
[I have to forget the Task Form things and code using VS.Net2003]
I would probably handle this with:
a) a Windows form in the add-in to capture the initial data, create the task
and kick off the work flow (might also be done with a custom task form, but
task forms can be quirky -- you can't override some of the default behaviors)
[a separate add in to handle the task form scenario and providing users with
the facility to fill in the form and email it to others. Others may also edit
the forms (at least some of the fields) and reply/forward to other person in
the hierarchy]
b) one or more custom message forms to transfer the task information
(including the workflow state of the current item) from originator to boss
to HR and pick up other information along the way
[please explain it I could not understand how to do this. But I think this
might work in my process]

c) code in the add-in to process the information in the custom message forms
at each stage in the process
d) Code in the add-in to create the toolbar button that allows the user to
launch the form described in (a)
[yup I have created this using MSDN, I am sure that I can do this again]

Let us know if you have specific questions related to any of the above.
[Thanks for your concern]

--
Regards!
Muneeb R. Baig

still learning the basics


Sue Mosher said:
Outlook VBA would not be involved at all.

I would probably handle this with:

a) a Windows form in the add-in to capture the initial data, create the task and kick off the work flow (might also be done with a custom task form, but task forms can be quirky -- you can't override some of the default behaviors)

b) one or more custom message forms to transfer the task information (including the workflow state of the current item) from originator to boss to HR and pick up other information along the way

c) code in the add-in to process the information in the custom message forms at each stage in the process

d) Code in the add-in to create the toolbar button that allows the user to launch the form described in (a)

Let us know if you have specific questions related to any of the above.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
My understanding is that SP1 for InfoPath has some email integration, but that integration is not at all related to custom Outlook forms.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Muneeb said:
Adding to my previous post i would like to know if i can integrate/call
InfoPath Forms, from within Outlook XP/2003 and use these forms instead of
Outlook Task From (customized)? if there is any way and is better then the
way we are discussining then please lemme know and explain it.
Thanx again
--
Regards!
Muneeb R. Baig

still learning the basics


Muneeb said:
Thanx for the prompt reply. Following please find my understanding regarding
ur suggestions, please correct me if I am wrong and explain the process…
Outlook VBA would not be involved at all.
[I have to forget the Task Form things and code using VS.Net2003]
I would probably handle this with:
a) a Windows form in the add-in to capture the initial data, create the task
and kick off the work flow (might also be done with a custom task form, but
task forms can be quirky -- you can't override some of the default behaviors)
[a separate add in to handle the task form scenario and providing users with
the facility to fill in the form and email it to others. Others may also edit
the forms (at least some of the fields) and reply/forward to other person in
the hierarchy]
b) one or more custom message forms to transfer the task information
(including the workflow state of the current item) from originator to boss
to HR and pick up other information along the way
[please explain it I could not understand how to do this. But I think this
might work in my process]

c) code in the add-in to process the information in the custom message forms
at each stage in the process
d) Code in the add-in to create the toolbar button that allows the user to
launch the form described in (a)
[yup I have created this using MSDN, I am sure that I can do this again]

Let us know if you have specific questions related to any of the above.
[Thanks for your concern]

--
Regards!
Muneeb R. Baig

still learning the basics


Sue Mosher said:
Outlook VBA would not be involved at all.

I would probably handle this with:

a) a Windows form in the add-in to capture the initial data, create the task and kick off the work flow (might also be done with a custom task form, but task forms can be quirky -- you can't override some of the default behaviors)

b) one or more custom message forms to transfer the task information (including the workflow state of the current item) from originator to boss to HR and pick up other information along the way

c) code in the add-in to process the information in the custom message forms at each stage in the process

d) Code in the add-in to create the toolbar button that allows the user to launch the form described in (a)

Let us know if you have specific questions related to any of the above.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Hi all!

I want to create a Form (say leave application form) and post it to the Task
Folder of the recipients. This is kind of workflow I want to manage.
Following is the criteria:
• The form is created in having Task as the base form
• Applicant fills the forms
• Selects the recipients using To button and/or fills out the address of the
immediate boss
• Sends the mail
• Now boss receives the mail as his Tasks (or may be in email)
• After double clicking the message, the boss views the Form and fills out
some required fields
• Then sends it to the HR department (or some person in the hierarchy)
• HR department approves the Form
• The Task in the Task List of all persons is marked as Completed

I would appreciate if someone can help me in reaching to the solution. I
have gone through many sites and concluded the following:
• Visual Studio .Net COM Add in
o create a COM Add in, using VS2003.Net and provide users with the
functionality of receiving emails
o sending the forms as attachment to the mail
o updating the tasks manually using code
• Outlook VBA
o Creating the Forms in Outlook
o Manipulating the objects (text boxes, buttons etc) using VBA
 The problem is controls are not finely controlled using VBA in this case





Regards!
Muneeb R. Baig

still learning the basics
 
Hi again!
This is to thank you for providing me your time. after showing your comments
my customer was agreed to discuss SRS and probably he be going for a simple
Task Form association with email.. I'll update my experience on the forum,
and if i need help i'll ask you people for that.

thanx again and regards!
Muneeb R. Baig

still learning the basics


Sue Mosher said:
Pseudocode:

1. User opens message from Inbox (triggers NewInspector event)

2. Check MessageClass property.

3. If it's the class of your published custom "task transmittal" form, continue. Otherwise, ignore.

4. Check the property on the form that carries information about the item's state, in other words, what stage it is at in the current workflow. (You have to decide what state information to store and in what property.)

5. Perform the appropriate processing of the item, depending on its state, updating the local user's copy of the task as required.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Muneeb said:
Thanx for the prompt reply. Following please find my understanding regarding
ur suggestions, please correct me if I am wrong and explain the process…
Outlook VBA would not be involved at all.
[I have to forget the Task Form things and code using VS.Net2003]
I would probably handle this with:
a) a Windows form in the add-in to capture the initial data, create the task
and kick off the work flow (might also be done with a custom task form, but
task forms can be quirky -- you can't override some of the default behaviors)
[a separate add in to handle the task form scenario and providing users with
the facility to fill in the form and email it to others. Others may also edit
the forms (at least some of the fields) and reply/forward to other person in
the hierarchy]
b) one or more custom message forms to transfer the task information
(including the workflow state of the current item) from originator to boss
to HR and pick up other information along the way
[please explain it I could not understand how to do this. But I think this
might work in my process]

c) code in the add-in to process the information in the custom message forms
at each stage in the process
d) Code in the add-in to create the toolbar button that allows the user to
launch the form described in (a)
[yup I have created this using MSDN, I am sure that I can do this again]

Let us know if you have specific questions related to any of the above.
[Thanks for your concern]

--
Regards!
Muneeb R. Baig

still learning the basics


Sue Mosher said:
Outlook VBA would not be involved at all.

I would probably handle this with:

a) a Windows form in the add-in to capture the initial data, create the task and kick off the work flow (might also be done with a custom task form, but task forms can be quirky -- you can't override some of the default behaviors)

b) one or more custom message forms to transfer the task information (including the workflow state of the current item) from originator to boss to HR and pick up other information along the way

c) code in the add-in to process the information in the custom message forms at each stage in the process

d) Code in the add-in to create the toolbar button that allows the user to launch the form described in (a)

Let us know if you have specific questions related to any of the above.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Hi all!

I want to create a Form (say leave application form) and post it to the Task
Folder of the recipients. This is kind of workflow I want to manage.
Following is the criteria:
• The form is created in having Task as the base form
• Applicant fills the forms
• Selects the recipients using To button and/or fills out the address of the
immediate boss
• Sends the mail
• Now boss receives the mail as his Tasks (or may be in email)
• After double clicking the message, the boss views the Form and fills out
some required fields
• Then sends it to the HR department (or some person in the hierarchy)
• HR department approves the Form
• The Task in the Task List of all persons is marked as Completed

I would appreciate if someone can help me in reaching to the solution. I
have gone through many sites and concluded the following:
• Visual Studio .Net COM Add in
o create a COM Add in, using VS2003.Net and provide users with the
functionality of receiving emails
o sending the forms as attachment to the mail
o updating the tasks manually using code
• Outlook VBA
o Creating the Forms in Outlook
o Manipulating the objects (text boxes, buttons etc) using VBA
 The problem is controls are not finely controlled using VBA in this case





Regards!
Muneeb R. Baig

still learning the basics
 
I suspect that the problem is that task requests are designed to be used only for tasks created in a user's default Tasks folder. The more usual approach is to use a message form with custom actions. Note, though, that a form published to a folder in a .pst file will be available only to that user. Unless you are able to publish a form to the Organizational Forms library or to each user's Personal Forms library, you probably should not be using an Outlook form for this application (or at the very least, will be unable to add any functionality that involves code behind the form).
 
Back
Top