MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Help with a workflow?

  Asked By: Marie    Date: Jul 22    Category: MOSS    Views: 914

We have a list for information that would need to be updated. I have
successfully created a workflow that would add an item to a task list when an
item in this list is created. I would like to create a workflow that would
change one of the columns of metadata in the information list once the task is
completed. The problem is, the task list is used for more tasks than just the
tasks generated by this information list. I have tried setting a variable based
off of the list item ID to pass to the workflow, but that quickly didn't work
out, as the tasks list has about twice as many tasks as the information list.
Has anyone else managed a solution to a situation like this?

In case anyone needs it, here are the specifics.

MOSS 2007

Computer Set-up List
Machine Name
Date of Move
Laptop (Y/N)
Source Site
Destination Site

Action Items list
Assigned To
Due Date

When an item is created in the Computer set-up list, it creates an item in the
Action Items list. For the Title of the Action item, that sets to the name of
the Set up library, the Due Date sets to "Date of Move" and assigned to, is set
to the group responsible. This works just fine. What I would like, is that
when the Action Items task status is set to complete, to update the Status in
the Computer Set up List to reflect the same. There are three other lists that
will add items to the Action Items list however also, so using the ListID
variable simply won't work.



9 Answers Found

Answer #1    Answered By: Cheyenne Lewis     Answered On: Jul 22

Does your workflow  end after the task item  is created?
If so, you will need to change it. After the Create
Task activity, add  a While activity that watches the
status of the task  item. Exit the while loop when
task item status  is set  to Complete. After this, you
can edit data in your Computer Set-up List; there is a
reference to this list  in

Answer #2    Answered By: Liana Alston     Answered On: Jul 22

Would this be edited using SPD or VisualStudio? (I don't have access to Visual
Studio and would need to edit this through the SPD workflow  designer

Answer #3    Answered By: Daamodar Kolhe     Answered On: Jul 22

The solution  I described is for Visual Studio. I
might guess there's a similar While activity/action in
SPD, but I couldn't say for certain because I avoid
SPD workflows like a plague.

Sorry if that's not a helpful answer.

Answer #4    Answered By: Emerson Franks     Answered On: Jul 22

Unfortunately it's not, and I understand your disdain for SPD workflows. You
work with the tools you have though, right? (I'm also not accomplished enough
to delve into the VS version of creating and editing workflows.)

So, back to square one. Any one have a solution  for this?

Answer #5    Answered By: Ned Storm     Answered On: Jul 22

There's not a way that I could create  another workflow  in the Action items  list
to update  the items in the computer  setup list? I initially figured this is
what I would have to do, but due  to the nature of the set-up  of our Action Items
list, using the ListID won't work.

Answer #6    Answered By: Myron Calhoun     Answered On: Jul 22

Well, I thought I had a solution. Maybe someone can help  me hammer through this
kludgy fix. I decided that it might be an idea to get the list  item ID of the
computer set-up  list and pass  that to a column in the action items  list so that
I could reuse it. It passed the List item  ID just fine. I created  another
workflow to update  the item back, and set  a variable  that would hold the List
Item ID out of the column that I created to hold the ID. When I try to select
it however, from "workflow data" it is not available as a choice. I even tried
to set the variable as a ListID instead of simply a number, and then tried to
set the variable equal to the number it should have been. How do I get that
variable passed into the workflow  in order to set the ListItemID of the list I
want to update?

Answer #7    Answered By: Rena William     Answered On: Jul 22

Would a 3 state WF solve your problem? Can't you make the state change wait
until ....... as needed? Am not sure, I have not tried a state-style WF.

Answer #8    Answered By: Shanda Nolan     Answered On: Jul 22

I really should pay attention to whether these get sent to the group  or to an

There is a "Wait for field change in current item" activity, however it isn't
the current item  that I would need to watch, but an item in the Action Items
list. So I still need a way to tie a workflow  to a list  item in another list,
that doesn't use the ListID column.

Any one else have any ideas?

Answer #9    Answered By: Bailey Lewis     Answered On: Jul 22

I don't think you are going to be able to accomplish this in SPD without
at least writing a custom action  in Visual Studio.

Didn't find what you were looking for? Find more on Help with a workflow? Or get search suggestion and latest updates.