Hello experts,
I am facing a small problem while creating Profile using services in developer.
This is the flow tha I am following to create Partner in TN:
pub:file:getfile (which picks a particular file)
pub:flatFile:convertToValues (parses the file with the schema which I created to recognize flatfiles)
wm.tn.profile.create.newExternalID
MAP (here I populate values into ‘ExternalID’ from my document which I parsed previously)
wm.tn.profile.create.newContact
MAP (here I populate values into ‘Contact’ from my document which I parsed previously)
wm.tn.profile.create.newDelivery
MAP (here I populate values into ‘Delivery’ from my document which I parsed previously)
wm.tn.profile.create.newProfile
MAP (here I populate values into ‘Profile/Corporate’ and values which are in pipeline{Delivery,ExternalID,Contact} from my document which I parsed previously)
wm.tn.profile.create.addProfile
This is the flow that am following to create a Profile in TN.
When I run this flow then the Profile is being created in TN with an exception which says,
‘Error encountered invoking wm.tn.profile:addProfile java.lang.ClassCastException: java.lang.String.’ Though the other values are not being created it just shows ‘Corporation name’ in TN.
Now if I hardcord the values and run my map then It is creating and saving all the values in TN perfectly.
May be there might be few services which I have to add (which am not sure, as I read TNBIServices guide it explains me the services not the sequence or flow).
Any help would highly appreciated
Awaiting Response,
raffim