Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Artifact Validation

 I have a RAM workflow that requires the approver at a state to attach a number of artifacts in order to move out of the state.  What am I missing?

Here is what I have in the set up

0 votes



2 answers

Permanent link
Hi,
From you post it looks like there is not restraints on the format or label of artifacts user need to upload.
I am not sure about how this policy works on you env, I guess you are using a 7511 or above.

I think if your policy failed, that is because in policy configuration the "Artifact type" drop selector shows "format of" but the "value" field is empty(""). so policy will check if there are at least 4 artifacts with format "" each time we save update.

This is kind a defect for me since I think it hsould be okey for user to NOT set the artifact type constraints, we may set a blank item or something in artifact type to indicate user that they can skip it.

The solution to that would be a workaround,  if you don't need constraint on artifacts type, pls set as the follow pic, set the file extension to *:

0 votes

Comments

By the way, you could set a condiftion on a transition. It would help you to control accessing to the next state, otherwise, even if you set the policy , user still could move out of the state.


Permanent link
 Thanks Ary, I tried to set a condition on a  transition.  But I don't quite get the action I want.  So in this use  case, the state is IN PROGRESS.  There is an email policy sent upon entrance to the state (In Progress)and an email gets sent to the approver.  I want the approver to have to attach a certain number of documents (in this case four) before he can click "approve".  Without the exit action clicking approve will select the tranistion "Passed" and change the state to "Asset Approved" With the conditions below the approve can still approve without attaching the the files it is just that the asset will not leave the state.  Is there a way to force a certain number of files be attached.

0 votes

Comments

I am afraid there is no way to do that force to attach documents before he can click "approve" . Approver could always approve, if he find the asset has not be attached 4 documents , he could choose not to approve. That is up to him. What you set now would make asset never leave the state unless someone attach 4 documents. That should be enough, since it could force at least 4 files have to be attached, otherwise asset can not be moved to another state.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,020

Question asked: Aug 05 '14, 9:17 p.m.

Question was seen: 3,789 times

Last updated: Aug 06 '14, 1:40 a.m.

Confirmation Cancel Confirm