Branch step in WF
Hi All,
I am facing the problem whenever i use the branch step in MDM Workflows.
Even for one connection, if i connect the Branch step with a connector it says "You have exceeded the max number of connection"
How do i proceed
Thanks
AJ
Hi All,
I got it.
Just wanted to know.
the Stop step can have just one input or many.
As per my understanding it should be allowed only 1 input and zero output but i can connect to inputs to the stop step.
Please clarify
Thanks
AJ
Similar Messages
-
Error while using Branch step in Workflow
Hi All,
I am trying to create the below scenerio which uses Branch step but i am facing the error as below
"Branch has an Invalid connection" , "Unable to save Workflow"
I have a the design as below which are connected using connector
1. start
2. process
3. branch (two connectore one connecting "a"(process step) and other connecting "b"(stop step))
a) Process ---> Stop
b) Stop
Please let me know where i am going wrong.
Thanks in advance
Regards,
Sharma.Hi ,
Please check if you have selected steps to be processed if condition is true or false as per validation in the Branch .
For ex: In ur branch step property u have selected validation A u will get two more properties Validation A and Default,
U have to select either process or stop corresponding to Validation A or default depending upon u condition.
Please revert if you find any difficulty.
Regards,
Neethu Joy -
Workflow BRANCH Step issues...
Hi Guru's
For Branch step as per Dataref guide we can have "n" no of validations..
But when i add more that 4 validations and try to connect this to next step..system gives me an error ...
Step " Notify is not connected properly"...What is this ..I mean the connection is correct ...Then why is this doing ..
Is there a llimitation to this...
Does anyone knows about this?
Regards
Vikrant M KelkarThis is resolved now..Issue was I didnt complete the step ..
I had linke notify step after Branch and had forgot to attach stop step..
Silly mistakes ..But learning now..
Thanks to all who have took effort in reading this thread..
Regards
Vikrant M Kelkar.. -
MDM Workflow:branch step.
Hi ,
Can anyone explain the use of Branch step?
Hw can u connect it can anyone elaborate?
Satisfactory answers will be rewarded points
Regards
NishaHi,
i give u a short Example through workflow, using this you will come to know how to use Branch Step.
>Assign---->Stop1
Start--->Branch
>Stop2
Suppose in your Main table there is a field which you want should always have some value say this field is Product ID
So, in Main table select Validations Pane and Create a validation say validation Name Mandatory Product ID
Here validation shud contain expression as IS_NOT_NULL(Product ID)
Create a new field of type Text Say Status in Main table.
Create an assignment say Approved Records in Assignment Pane Select Property Table Field = Status in assignment expression write say Approved
During configuring workflow in Branch Step select Property Validations = Mandatory Product ID
on selecting this two more Properties get Enabled Select Property Mandatory Product ID = Assign and Property Default = Stop2 , All the steps should be connected properly using Connector,
For Assign Step select Property Assignment = Approved Records and this Assign step further connect to Stop1
So using this workflow it will fill the values Approved in the field Status for all the records having Product ID and for failed records it go directly to stop2
Hope it will Help you,
Rewards if Useful.....
Mandeep Saini
Edited by: Mandeep Saini on Jun 19, 2008 7:28 AM -
Hi,
i have a workflow with step of branch and user must choose himself on which branch workflow realization will go later. Help me, please, to write validation/expression (or it can be done in the other way?)
Thanks in advance!Hello,
Based on the values available to the User, design a Lookup and create a validation for each steps.
For building validation please follow the below link
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/master-data-management/_master-data-management/elearning/step-by-step%20tutorial%20on%20creating%20validations%20in%20sap%20mdm.sim
Based on this validation, you can branch the user in the respective realizations steps.
For example country, has values india, US, UK, Germany, Singapore, Australia.
Design 6+1 validation,
country = 'india'
country = 'US' and so on
and the last one as, if country = NULL, then error message.
Then use this validation in your branch step.
Regards,
Abhishek
Edited by: Abhishek Biwal on Dec 26, 2011 2:50 PM -
Add single file to a configuration; simple steps?
we're creating configurations to spec what a release is comprised of.
We need to add a single file to a configuration. Oddly we've been guessing about and can't figure this out.
I'm creating a configuration from a PWA, stripping out all but one file. Then creating a new configuration from another configuration
(the previous config for this release), then Add member, to add this config. that
has the single file.
There has to be simplier steps?
BTW, the help within RON and the OTN tutorials don't mention this feature on configurations.
Thanks
curtHere's a work around for adding one or more files to a configuration that works for us.
Forwarned that this is the long way around but at least it's simple in concept.
Back ground:
- one uses configurations to control specific versions of files that describes a release
- In theory release 1.4 should be based on configuratoin for 1.3 plus or minus files and versions of existing files.
- My view is that if you break the verifiable inheritance of the next version from the previous
you are taking a risk.
Meaning, that the next version should always be based on the configuration of
the previous release.
- This procedure breaks the rule the above rule. ;-(
The work around that I've been able to get to work:
Short description: create the next cfg from LATEST, then use command line tool (compare cfgprevrelease cfgBasedOnLatest)
to determine what file versions need to be rolled back to be equal to the previous version, this captures the new files in the latest branch.
steps:
- Refresh your PWA to get the latest new files that you need to add to the release cfg
- create a temp cfg based on a PWA
- run the CLT compare -rpCfgPrevRel -rpTempCfgBasedOnLatest
- modify the temp cfg to v1.1 and set the file versions back to the versions in your previous release with exceptions of
of what files and versions you need in the next release.
- save
- Create your real configuration from the twiddled temp cfg.
- done
The reason why we use the temp cfg is that we never version a cfg. Our release cfg's are always version 1.0.
This is mainly folklore, since we name the cfg for the ear name;
product-v10-04102003 which is the date at the end. So there will never be version 1.1
of this cfg given the v10 and date.
I've writen all this down for developers to faithfully reproduce and you may email me for a copy.
[email protected]
Good luck curt -
Problem with Matching and Merging Step of MDM Workflow
Hi,
I have created a workflow which will first Match Step where the user will do both
Matching and Merging. Then, it will go for a process step Final Review.
Then, it will go for Branch step which is named as Decide on Check in.
There are two workflow which are launched after this step.
My workflow ran one time.
The number of records is: 19585. The Match step which is assigned to a different user is not performing.
It is a simple match based on First Name, Middle Name and Last Name.
Any suggestion?
Regards
Kaushik BanerjeeHi Kaushik,
What do you mean with "not Performing"? One suggestion, just log in with the 'Different User' who has been assigned for the matching task, and under that user goto the matching tab, in matching tab you will find a sub tab for Workflow, I hope you can work from there, If this doesnt solve your problem, then please let us know.
Cheers,
Cherry.
Sorry problem with button;... so message came again... apologize.....
Edited by: Cherry on Mar 23, 2009 9:42 PM -
Auto execution of Syndicate Step in Workflow
Hello Experts,
Is there a way to auto execute the Syndicate step in Workflow?
Workflow is as follows:
Start ---> Branch ---> Process Success ---> Assignments ---> Syndicate ---> Notify ---> Stop
In this case, workflow is launched immediately, validations and assignments are successful. Control is passed back to the user and we have to manually select Next Step option by right clicking the workflow.
After Syndication, Stop is again a manual process.
Please let me know if there is a way to automate the workflow for Success branch.
Thanks in advance.
VinayHi Vinay,
Start ---> Branch ---> Process Success ---> Assignments ---> Syndicate ---> Notify ---> Stop
As per your Workflow stated above:
- The workflow will automatically trigger if the triggger action is either Record Import or Records Add.For Manual you will have to trigger the workflow manually.
- For this you will have to set the workflow as Active and Auto Launch as Immediate.
- Out of the above mentioned steps the Start, Branch,Assignments,Notify and Stop will not require human intervention to move the task to the next step.
- Once your workflow is triggered based on the validation is the branch step the records will move to the Process user else default.
- The process user will have to complete his task and on clicking Next step it will run the Assignments automatically.
- On reaching the syndicate step the selected records will get syndicated provided the MDSS settings are correct and the Assignments have passed else it will come back to the previous step on failing the assignments
- The Notify step will run automatically .You will have to only click Stop for ending the workflow.
Hope It Helped
Thanks & Regards
Simona Pinto -
I have done 2 samples using fork and in both the cases it is not working. For each message new BPM is triggered and only one step (branch) gets completed and other branch steps remain in ready state forever.
1) I have tested standard BPM pattern BpmPatternCollectMultiIf
2) Simple process using fork - two branches using different inetrfaces (having different message types)
Integration process return code is 0 - runtime cache
I am testing on local sandbox (XI 3.0) with SP17.
Under SAP help only brief description available about fork. Please share if you have good references/samples about fork (BPM).Jai,
1)I expect following result in case of standard BPM pattern "BpmPatternCollectMultiIf"
Note: Here same message type for all 3 interfaces ( branches), no end condition, no of branches = 3
As all message types are same when I send first message only one branch will be executed and outbound status under sxmb_moni with be clock (Message being sent). When I send 2 message, second branch will be completed and status will be clock again. And when I send 3 rd message all branches will be completed and outbound status will be success flag (Message successful on outbound side). Under one process id three messages will be displayed
Actual result is every time status as clock. and for each message new fork instance is created. below are the processids for 3 messages
133721
133726 -
unexpected
133731 -
unexpected
Ideally when you send 3 messages all should be process under process ids 133721 to 133725
2) I have tried fork with 3 branches with different message types. When I send 3 messages ( here each payload is different as per message type ) I expect success flag after 3rd message. But in this case also always the status as clock. and every time new fork instance.
Is anybody successful to test BPM pattern -> BpmPatternCollectMultiIf? -
How can I read different files in the file adapter
Hi,
I have a scenario like file(content conversion and FTP) to Proxy and need to read 2 files which have different structures.
The file structures is as follows.
FileA.txt
EMPID, Designtion,code,DOB,dept,deptID and 13 fields etc..
FileB.txt
officercode, dept,workspecs,FLAGarm,FLAGfoot and 27 fields etc.
Both files needs to be read by the file adapter at same time and should send to the proxy to feed in ECC.
Please help me in designing the above scenario with or without BPM.
Thanks
ManmadhaHello,
Since u want to combine the two files from sender , you need to use BPM for it.
First of all create Mapping. In your mapping program go to messages tab and add the two source messages types and in the target add the target message type. Come to your design tab and design the mappings.
BPM:
-- Insert Fork with two branches necessary condition. In first branch insert Receive step and check start process checkbox.
--In second branch insert Receive step and check start process checkbox.
-- Insert Transformation step after Fork branch step.
-- Insert Send step [the outcome of transformation step needs to be send]
Design the above structure, if you have any doubts, dp reply back.
Best regards,
raj. -
hi,
I am not able to see the split in BPM when using SWITCH.
Scenario: IDOC->XI->Multiple Receivers with error handling using BPM
In BPM SWITCH i have 2 steps.
1st branch step has Transformation0, Receiver Determination0 and Send0
2nd branch step has Transformation1, Receiver Determination1 and Send1
Receivers will be differnt. Container elements have 2 receivers for Receiver0 and Receiver1
When the IDOC is triggered i can see only one message in SXMB_MONI.
I don't see any failure steps in SXMB_MONI_BPE.
In the ID, i have 2 receivers configured.
Why aren't the messages being processed?
Thanks,
TirumalHi Tirumal,
Switch is condtional step. It is not for Split. It is like If-Else condition. If you want to split the messages in the same time, then go for Fork step.
http://help.sap.com/saphelp_nw2004s/helpdata/en/24/e2283f2bbad036e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/6a/db283fd0ca8443e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/14/d5283fd0ca8443e10000000a114084/frameset.htm
Hope this helps,
regards,
Moorthy -
In workflow need to check in passed validaitons and check out failed once?
Hi All,
Can any one let me know is the following requirement possible?
In workflow can I able to split records based on validation result? I need to check in passed validations and check out failed validations..
Regards
RajeevHi Rajeev,
You can try out both branch step and validation step and see which serves your purpose better.
In branch step you can give multiple validation/validation groups,if result is TRUE take the first branch and check in at STOP.
If FALSE,take dont checkin at STOP,either cascade or Rollback as the case be.Also here you can call the same or other Workflow.The split branches can later be combined using MERGE or Group.
Other way can be by using Validation step,setup iteration threshold.here failed jobs will be sent to previous step and passed ones will move ahead in WF.Later you can checkin at STOP and failed jobs would still be in WF in checkout state.
For your reference :
http://213.41.80.15/SAP_ELearning/OKEC/nav/content/011000358700000601512007E.PDF
http://help.sap.com/saphelp_mdm550/helpdata/en/43/e0615a82b40a2ee10000000a11466f/frameset.htm
Thanks,
Ravi -
Condition based Interface determination
Hi ,
Environment : PI 7.1.
Scenario : File to Proxy.
In this scenario , We have a single file interface which reads a file and routes the data to two different inbound interfaces.
Steps followed to do this -
>>Defined two inbound interfaces interface1 & interface2.
>>Both interfaces are pointed to same ECC system.
>>Read the file using a single sender file communication channel.
>>Define receiver ECC in the receiver determination.
>> Define interface determination based on a value of a field in the file structure(source structure). Used XPATH to define this content based routing and selected operation mapping specific to the interface.
1 sender agreement
1 receiver determination ( not using enhaced receiver determination because we have only one receiver)
1 interface determination which has two receiving interfaces based on XPATH condition ( maintain order runtime is checked)
2 Receiver agreements.
2 Communication channels.
For example if you have 10 lines in a file , out of which if 5 lines has a value related to interface 1 & 5 lines has a value related to interface 2. It should push the data into two different proxies as configured.
We are facing a problem in this scenario -
There is no consistency in the logic. Some times it runs interface 1 & some time it executes interface 2.
based on condition 1 it routes the data to interface 1 successfully but the structure is not getting created for interface 2 so it is giving an error stating the interface 2 structure is not available.
In SXMB_MONI the branching steps show two subnodes but if you see the log it shows that in subnode 1 the sender is sender interface & the receiver is interface 1 based on the filter condition. If you see the log for subnode 2 then it shows the sender is sender & the receiver as interface 2 below that it shows another entry which shows the reciver interface is interface2.
Please evaluate and let us know if the approach we are following works or not. If there is any limitations please let us know how to achive this.
Regards,
ReddyHi,
Your design is correct but here you missed one point. Here the message is send either to receiver1 or receiver2 depending on the condition but not both. As this does not result in multiple messages with the same payload because only one condition can ever be true at runtime. For more details see the below link
http://help.sap.com/saphelp_nw04/helpdata/en/46/8015de950e6be3e10000000a155369/frameset.htm
If you want to create multiple message then you need do 1:n mapping :
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417700)ID2056393550DB10021342992851308291End?blog=/pub/wlg/2927
Shweta. -
SOAP Adapter - Error because of special character (u00FC - Umlaut) in payload
Hello,
We have a SOAP sync scenario.
SAP -> PI 7.0 -> 3rd Party system
We have a special character (ü - Umlaut) as part of the payload.
When the message enters message pipeline in PI, I can see the payload XML till message branching step.
From Message mapping step, i get the message - "The XML page cannot be displayed. An invalid character was found in text content" in SXMB_MONI.
In communication channel monitoring, I see the following error:
SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2106)(:main:, row=2, col=2106) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2106): java.io.IOException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2106)(:main:, row=2, col=2106) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2106)
But, when I pass the same message(with special character) to the 3rd party system using SOAP UI, i get a valid response back.
So, what is going wrong in PI?
Thanks,
ChandraHi Gouri,
you are right. My message is successful in SXMB_MONI, and the error is coming from comm channel monitoring with deliverin to target.
My sender is a proxy, and we can not specify any encoding in proxy sender.
I did not specify any encoding in SOAP Receiver aswell.
This is the sequence in comm channel monitoring:
Success: Delivering to channel: CI_SOAP_Receiver_Sync
Success: MP: Entering module processor
Success: MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
Success: SOAP: request message entering the adapter with user J2EE_GUEST
Error: SOAP: call failed: java.io.IOException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)(:main:, row=2, col=2046) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)
Error SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)(:main:, row=2, col=2046) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046): java.io.IOException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)(:main:, row=2, col=2046) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)
So, what can i do to fix this?
Thanks,
Chandra
Edited by: Chandra Sekhar H on Mar 3, 2011 12:25 PM -
Would like to know how to interpret table SWPSTEPLOG; I have some workflows that are not going past a multiple branch step.
In a wait for event step, I pass a parameter back with the event. Occasionally, the parameter is not filled with a value (SAP problem currently being looked at), which then causes a subsequent multiple conditional branch to have a error because it is not expecting an empty value.
When I look in this table, there is only one entry for this step in the workflow, for all other steps in the workflow that have completed there are two steps.
Can anybody explain, should there be two entries for a completed step of the workflow?Hi Anthony,
With a multiple conditional branch you should always implement the Others option (scroll down below the standard options)even if only for safety's sake. I often just put the outcome "Should not happen" in there.
At least it stops the workflow dying if there is a strange data issue like yours.
Worth a try to keep your workflow from falling over.
Sounds like your workflow simply doesn't know what to do because there's no catch all Others value set up.
Regards,
Jocleyn
Maybe you are looking for
-
I have noticed that some websites will show up in the history log and some website will not. I have a concern that there might be a security breach on my laptop that I am not aware of.
-
MacBook Pro Randomnly started Overheating badly
Hey There, I have a Mid 2011 Macbook Pro 15" Which i've had since Summer of 2011. I primarily use it for Music Production and DJing. Last week, my mbp started acting funny as i was watching a movie using VLC player. The screen was covered in Light gr
-
How i can't to make any purchase from itunes store?
When im want to make a purchase,i can't ascess to make the purchase.they give a message PLEASE CONTANC iTunes SUPPORT FOR COMPLETE THIS TRANSACTION
-
Individual Folder View Settings
Hello all Intel iMac - Leopard 10.5.2 Question: Is it possible to assign different folders their own views? For example I might want my Photos folder to be Icons or Cover Flow but I don't want that setting to be carried into other folders. I noticed
-
I have been using iClock for several years but when I installed Leopard, I've had problems with it. 'My question, is there a way using preferences to show both the Date as well as the Time in the Menu Bar ?