on 09-22-2009 7:52 PM
Hello
I would like to create workflow that runs after save of record do the following and there is no user input required.
Validation:
If (Field1is not null and field2 is not null and..field27 is not null)
Assign:
Set STATUS=COMPLETE else STATUS=NEW.
Looks like I cant attach a Validate component to Start component.But If I add a Process component the workflow stops for user input.
Any ideas
Thanks
Kalyan Sankar
Hi Sankar,
Use Branch step instead of Validate step. Your workflow design woulld be like
Start--->Branch
>Stop
-
>Assign(New)----
>Stop
Assign the validation to the Branch step, if validation is successful then assignment with value Complete will get executed else assignment with value New gets executed.
Regards,
Jitesh Talreja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the solution.
IN my case I do have more statuses and type of records which need to be set after record update.
My situation is like below:
1.The status(NEW,COMPLETE,IN PROGRESS) must be assigned after RECORD update event.
2.If TYPE=A and Field1 AND Field2 AND Field3 are NOT NULL
OR
3.If TYPE=B adn Field1 AND Field4 and Field5 are NOT NULL
OR
4.If TYPE=C and Field1 AND Field 6 and Field7 are NOT NULL
SET STatus= COMPLETE
If ATLEAST 1 field in TYPE A or TYPE B or TYPE C is NULL then
STATUS= INPROGRESS
IF ALL fields(1 to 7) are NULL in TYPE A or TYPE B or TYPE C then
STATUS=NEW
So far:I have validations IS_NOT_NULL for all the fields based on TYPE A or TYPE B or TYPE C.
I also have assignments for each TYPE
I need to bring this together ALL in 1 workflow(as MDM does not allow more than 1 RECORD Update workflow:(
Thanks
Kalyan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Indeed a Process step must directly precede a Validate step. This is by design and the correct workflow structure.
Regards,
Hedda Cohen.
Edited by: Hedda Cohen on Feb 2, 2010 9:16 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kalyan,
I think you shoud have Validation step before Branch Step.
Try this:
Start ---> Validation( Field1is not null and field2 is not null and..field27 is not null) -
> Branch -
> 1) Assignment1 (STATUS=COMPLETE) -
> Stop
2) Assignment2 ( STATUS=NEW) -
> Stop
Your Branch step will have 2 branches, 1st brach will get executed if validation is true & 2nd branch will get executed if validation is false.
Thanks,
Maheshwari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Here are the steps involved:
1.Create assignment STATUS: STATUS [NEW] in DM
2.Create Validation CHECK: Check if TYPE="CU"
In workflow:
1.Add Start,add red connect arrow
2.Add BRANCH step,set Validation CHECK
3.Add Assignment Step,choose STATUS as its assignment from drop down
4.Add Connect Arrow from BRANCH to SET VALUES
5.Add STOP
6.Add ARROW from SET VALUES to ARROW
Hit Save and get error message
"Branch 'Branch' has an invalid connection"
"Unable to Save Workflow"
Am really confused
TIA
Kalyan Sankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Experts
I have to reopen this thread again..
When connecting the BRANCH step to any input I get and saving the workflow
"BRANCH(branch) has an invalid connection"
My Workflow is:
START==>Assignment==>BRANCH(with1 validation)==>STOP
Whatever I change th input or output to BRANCH,I get the error.
Please advise
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kalyan,
As per my understanding your business process should be like this:
1. Add New Record: Whenever a new record is added into MDM repository the record status should be NEW. After that validations will be performed and if validation returns true record will go for approval (if any) and record status will be COMPLETE.
But if validation returns false, the record status will be as it is to NEW.
So design should be:
START--> Assignment Record Status(NEW) --> BRANCH -->TRUE --> APPORVAL (If Any) -->Asignment Record Status (COMPLETE) --> STOP.
BRANCH --> FALSE --> STOP.
2. Update Record: Similary record status will be modified instead of NEW.
BR,
Alok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.