Talend Job not letting me map tMap to another tMap Component - etl

I have created a job in Talend as follows :-
I wish to map tMap_2 and tMap_3 to tMap_4, but for some reason it just isnt letting me. tMap_2 and _3 show warning messages stating 'This component does not have enough "Row" type outputs'. But For each of these I have already created an output. I am pretty certain what I am trying to achieve is possible in Talend, and googling about this hasnt turned up anything significant. So could some one please advise why it's not letting me join the tMaps 2 and 3 to 4?
P.S. Kindly let me know if more information is needed.

To prevent looped components connection in a job, you can use the tHashOutput and tHashInput to store the data of a flow and read it later, by default those components are hidden, you can install them from the menu "file" -> "edit project settings" -> "designer" -> "palette setting"

Related

How do I use compose outputs for a Create Event flow?

Beginner Level User
I am trying to create a flow that triggers when an item is created in a SharePoint list. When the conditions in my flow are met I want to look for available meeting times for the group and then book the first available with 100% confidence of all attending. I figured out how to find the times and use the compose action. The issue is that I have set the "max candidate" to 1 thinking that would only return one option for the output. When I add the "output" to the create event action I get an error. I am so new to this I don't really know what is wrong. Below is a screenshot of the flow and the error. I would appreciate any tips or advice that can help me figure out where I am going wrong.

Select Business Process Flow Stage onChange of a Field Value

I am trying to update a business process flow stage using Workflow or JavaScript.
First I tried with JavaScript using below method,
Xrm.Page.data.process.moveNext(onSetActiveStage);
But the problem with this method is if the active stage is greater than the required selected stage then moveNext logic will not work.
I know I can use movePrevious as well but it will be another overhead as sometime the active stage will be before the required stage and sometime it will be after.
The other option for me was on some field change I can use a workflow to activate or select a stage on business process flow.
For that I created a workflow and selected my BPF as my entity and selected a field on Process Change.
And inside my Set Properties, I set Active stage as the required stage which I want to mark as active.
The above logic is not working for me on change of the field.
I am new to BPF, please bear with me if I am making some basic mistake.
If you are following this blogpost, the comments below the post says - it's not working/triggering for custom BPF and you have to refresh the form to see the changes. Make sure if this is what affecting you.
Also you can un-check the "Workflow Job Retention" checkbox for troubleshooting to see if its triggering or not.
Btw, your design seems to be little confusing, required stage before/after active stage does not makes sense. You may need to add the different branch and "Data step" to make it required in different scenarios.
If this is not feasible, then try to use scripting to set the active stage or plugin/custom action to set the stage on your trigger.

Maximo: Use script to update work order when a related table is updated

I have an automation script in Maximo 7.6.1.1 that updates custom fields in the WORKORDER table.
I want to execute the automation script when the LatitudeY and LongitudeX fields (in the WOSERVICEADDRESS table) are edited by users.
What kind of launch point do I need to do this?
Edit:
For anyone who's learning automation scripting in Maximo, I strongly recommend Bruno Portaluri's Automation Scripts Quick Reference PDF. It doesn't have information about launch points, but it's still an incredibly valuable resource.
I wish I'd known about it when I was learning automation scripting...it would have made my life so much easier.
You can create an attribute action launch point on the latitudeY field and another on the longitudeX field. These will trigger whenever each field is modified, so it will fire once when the latitudeY field was changed, again if the longitudeX field is changed, again if the longitudeX field is changed again, and so on. This is also all before the data is saved, so the user may choose to cancel their changes, but the scripts will still have fired.
You could also make an "on save" object launch point for WOSERVICEADDRESS (if that's what is actually being updated via the map). This will run any time data in the object is saved, so you would have to do the extra checks of seeing if either of those fields have changed and then do your logic, but at least it would run once and only if the user commits to their changes.
Related:
Populates WORKORDER.WOSAX and WORKORDER.WOSAY (custom fields) from the values in WOSERVICEADDRESS.LONGITUDEX and WOSERVICEADDRESS.LATITUDEY.
woMbo=mbo.getOwner()
longitudex=mbo.getString('longitudex')
latitudey=mbo.getString('latitudey')
if woMbo is not None:
wosax=woMbo.getString('WOSAX');
wosay=woMbo.getString('WOSAY');
if longitudex!=wosax:
woMbo.setValue('WOSAX',longitudex)
if latitudey!=wosay:
woMbo.setValue('WOSAY',latitudey)
The launch points are Attribute Launch Points, not Object Launch Points.

How to see or enable full view of the data lineage of Apache NiFi?

I'm using Apache NiFi 1.6 and I'd like to see the lineage of a flowfile as it passes through different processors.
When I look at the data provenance of a flowfile and look in its "Lineage", I can only see the lineage of the flowfile for that processor, not the ones preceding it. Further, when right clicking the lineage, I only see "view details". I understand there are more options such as "find parents" as shown in the HDF guidelines here: https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.1.1/bk_user-guide/content/find-parents.html
Are these options also available in Apache NiFi? If yes, what are your suggestions on how to enable that feature (of being able to see "find parents")?
I found my own mistake. I was trying to find parent by right clicking on anywhere on the lineage. Whereas, it has to be the one with a parent. For example, for my case, it was the first event on top of the page.

Informatica Lookup & Update strategy error

I have trying a lookup and update strategy transformation but for some reason its not working.
I have a disconnected lookup in my mapping which is called based on a particular condition
and when the look up is null , I tried to set a variable to 'INS',REJ,UPD,DEL..
The new variable in my agg_trans-INS_UPD_DEL is not getting linked to the upd_strategy trans. I'm able to move the variable from expression to update_strategy but dont see the link being displayed..
Well, Aggregator is an active transformation. if you are making a new port in aggregator, you wont be able to surpass this transformation for other ports while going to update strategy.
Without asking you for more of your functionality, you can fix this by simply flowing your ports through aggregator. Whatever you need in update strategy, make sure they flow through aggregator... Src Qualifier -> Aggregator -> Update Strategy.
I hope its clear enough, if not, think about going through documentation about active transformations..

Resources