I want to send send workflow name to the database
how i get workflow name i am using this activity
and store in variable like you can see in picture
so new i want to store this data in database can someone help me to create a logic
like you can see in picture workflow name is main
now i want to store this workflow name in database in process column can someone help me to create this logic
Anil_G
(Anil Gorthi)
June 20, 2023, 3:23am
2
@imumeriqbal
You need to use first have the drivers installed to work with database activities and download the UiPath.database.activities as well…
Once this is done use connect activity to connect to the db
And then use execute non query to run the insert statement which would contain the data from the job info variable
The insert statement syntax is same as any sql insert statement
https://docs.uipath.com/activities/docs/execute-non-query
Cheers
Anil_G
(Anil Gorthi)
June 20, 2023, 4:04am
4
@imumeriqbal
it is expecting 4 values …you are only giving one…that si the reason it is failing
you have to give id,process,datetime,comment all 4
cheers
system
(system)
Closed
June 27, 2023, 6:03pm
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.