Hi I want to run a workflow dependent on if the it...
# general
a
Hi I want to run a workflow dependent on if the item is serialized in the transaction. Is this possible? I know you can't access subrecords, but is there some workaround to get this workflow to trigger correctly?
n
@AK Make a custom transaction line field as item type and source it from item master record on transaction line and try to trigger your workflow on this field.
a
How would you trigger off the custom line field?
Do you mean body field?
n
On transaction it will be transaction line field
What you need to. you have to capture item type in a custom item field and than source this on your transaction line
@AK Are you getting my point?
@AK
a
I get it, but I don't understand how I select that field in the workflow. I thought you couldn't select transaction line fields. I really appreciate the help!
n
Yes, You can select sublist (transaction line) fields in workflow.
@AK What exactly you are trying to do through workflow. Please share some details and screenshots if possible to help you
a
The main idea is to have a “show message” workflow initiate on if the item fulfillment has any serialized items on it ‘on creation’.
The issue is getting it to trigger only if there is a “is serialized item” since I can't trigger at that subrecord level
If i use the field “serial numbers” = empty then it will trigger on all IFs regardless because they're all missing serial numbers.
n
@AK Have you created custom field for item type?
Or are you triggering it on any other field?
a
No I can't seem to find the field I need.
I just want to trigger if it has serialized inventory
I get your idea, just haven't been able to test. Had some other work come up.
n
Okay
a
But I tried looking for transaction line field in workflow and can't find any. Where would you set that as the condition?
n
Okay. Let me check it.
👍 1
@AK First you have to create a sublist action group in that workflow state and than in that action group you need to create a new action of return user error and there are only three limited actions are available in that action group and in that action group condition box you will be able to access some item line field for condition.
@AK Give it a try and see results.
a
Is there a way to do it through normal workflow?
I saw the sublist grouping as well but there's only return error option
n
@AK In normal workflow, you can use sublist fields and triggering field if you choose trigger on option as before field edit or after field edit.
@AK If no success, than scripting is the option available.
a
Yeah doesn't seem possible unfortunately. Will have to go scripting route. Thanks so much @Nawarain I appreciate your time.