go to post gerald hanford · Apr 11, 2022 Would I be able to concatenate a string to the end in the BPL visual editor? I have not worked with the BPL visual editor yet and I am just curious if what I want to do can be accomplished using the tool.
go to post gerald hanford · Apr 11, 2022 I have tried to reply to both of your posts individually, but unfortunately, the website does not seem to be working for me when I try to so here are my replies, Thank you again. Marc Mundt Thank you for asking I could have explained it better. I am using the EnsLib.File.PassthroughService, to my understanding this service reads a file in its entirety and then converts it to a string and sends it through the production to a Business process. This process needs to take the string from the BS and concatenate a second string to the end of it. from there the Process needs to send it to an Operation. I am trying to write this in Object script, but I am having a hard time creating the BP from scratch, I have tried to read the documentation but I do not fully understand how to create a BP in just Object Script. I created a new Project in studio and selected Business Process, It automatically created the OnRequest Method and so I read up on that and I believe that that is the correct method I need to use. But I am not sure how to call the BS string into the Process. I hope this helps a bit. Julius Kavay Method OnRequest(pRequest As Ens.Request, Output pResponse As Ens.Response) As %Status{ Set EndMarker = "End Of File" Set IncomingString = ##class(ProofOfConcept.bs.SendFile).%New() Set Response = IncomingString _ EndMarker Quit $$$ERROR($$$NotImplemented)} This is what I have tried, I created a new project in studio and selected the Business Process, it selected the OnRequest Method for me. I read up on it and it seems like it should work for me. But what I do not understand is how to: - call the Business Service string that I am expecting to get from the BS? - Once I have the string How can I send it to a Business operation? I know this may not look like much but I am having a hard time finding documentation how to create a BP from scratch.
go to post gerald hanford · Apr 5, 2022 Thank you for your response, how might I get the Business Process to send a notification? I am still pretty new to Ensemble.