Forum Discussion
Pkrishna9494 - you can ask your CSM to enable the Cobol Copybook snap pack.
Pkrishna9494
2 years agoNew Contributor
can you possible to read through python script
Hi Viktor, I want to insert new record in the below given array .If suppose there are 4 records under the value array. I want to add the 5th record in the array of value if the another input is { "src_code" : "Active"} “value”: [ { “color”:null,“default”:false,“description”:null,“isActive”:null,“**label”:“None**”,“urls”:null,“valueName”:“None” }, { “color”:null,“default”:false,“description”:null,“isActive”:null,“**label”:“Country**”,“urls”:null,“valueName”:“Country” }, { “color”:null,“default”:false,“description”:null,“isActive”:null,“**label”:“Employee”**,“urls”:null,“valueName”:“Employee” }, { “color”:null,“default”:false,“description”:null,“isActive”:null,**“label”:“Both”,**“urls”:null,“valueName”:“Both” } ] { "src_code":"Active", "tgt_code":null } expected Output “value”: [ { “color”:null,“default”:false,“description”:null,“isActive”:null,“**label”:“None**”,“urls”:null,“valueName”:“None” }, { “color”:null,“default”:false,“description”:null,“isActive”:null,“**label”:“Country**”,“urls”:null,“valueName”:“Country” }, { “color”:null,“default”:false,“description”:null,“isActive”:null,“**label”:“Employee”**,“urls”:null,“valueName”:“Employee” }, { “color”:null,“default”:false,“description”:null,“isActive”:null,**“label”:“Both”,**“urls”:null,“valueName”:“Both” }, { “color”:null,“default”:false,“description”:null,“isActive”:null,**“label”:“Active”,**“urls”:null,“valueName”:“Active” } ] Please let me know if it is unclear.
type or paste code here
- cjhoward184 years agoEmployee
Related Content
- 2 years ago
- 4 months ago
- 7 years ago
- 3 months ago
- 3 years ago