Skip to main content

Hi,

I have created new screen under debrief workflow as the part of requirement and added task id field on the screen.

So i am trying to fetch the current task id for that column in new screen which i have created. But i am getting below error:

stringByReplacingOccurencesOfString:With String

unrecognized selector sent to instance (Oxbcc87a88be04eeb5)

 

Can anyone please help me on this?

Hi ​@JainAyushii 

What exactly are you doing and how? Please elaborate?

Cheers!


@Shneor Cheshin  I am trying to create the screen (Custom Part Usage) from a newly created custom meta data. 

Now,  after screen creation, following fields (Serial Num, Quantity, task id, part) has been added and are editable.

Expectation here is when FT open the “Custom Part Usage” screen from the  task overview screen, then task id should be set automatically and read only.

Issue which i am facing is i have create client script in which i am fetching task id by below code. 

var taskId = getCurrentKeys("task", "task_id");

This script is giving error in mobile application.

 

Hope its clear to you.


HI ​@JainAyushii 

When is the client script triggered?

If you leave only one line in the script var taskId = getCurrentKeys("task", "task_id"); Still getting an error?

Could you please share the whole script?

Cheers!


Reply